p PatchFirst

CVE-2026-105437

CVE-2026-105437 · Heap-based Buffer Overflow in Git

CVSS 7.5 · Hoch · EPSS 0,5% · Öffentlicher Exploit · Korrektur verfügbar

Vergleichen Sie mit Ihrer installierten Version

Betroffene Produkte und bekannte korrigierte Versionen sind öffentlich. Vergleichen Sie diese mit Ihrer installierten Version.

  • gitAuf 2.49.1 / 2.50.2 / 2.51.3 … aktualisieren
  • git Alpine 3.23Auf 2.52.1-r0 aktualisieren
  • git Alpine 3.24Auf 2.54.1-r0 aktualisieren
  • git Debian 12Keine Korrektur veröffentlicht
  • und 9 weitere

Installierte Version prüfen:

apk list -I -o git
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="git"'

Bewerten Sie die Risiken Ihres Servers

Die kostenlose Prüfung liefert ohne Registrierung eine Bewertung und eine Risikoübersicht nach Technologie-Stacks. Sie beantwortet nicht, ob diese einzelne Schwachstelle Sie betrifft.

Die Überwachung gleicht öffentliche Informationen mit der Software Ihrer Server ab. Sie erhalten detaillierte Funde und eine Reihenfolge für Updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Server kostenlos prüfen →

Kanäle bieten allgemeine Nachrichten zu Technologien; neue Funde auf Ihren Servern meldet die Überwachung im Dashboard, per Browser-Benachrichtigung, in Telegram oder über einen Webhook.

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

Affected versions of Git have a heap buffer overflow in the three-way merge code (xdiff), which an attacker can trigger through a repository they control.

When Git merges a file, it first adds up the size of the merged output, allocates a buffer of that size, and then writes the output into it. That total was kept in a 32-bit signed integer. The conflict-marker-size attribute, which can be set from a committed .gitattributes file, accepts any positive integer, and the markers are written several times for every conflict. A small file with a huge marker size and many separate conflicts can therefore push the total past 4 GiB, so the integer wraps to a small value and Git writes attacker-controlled merge output past the end of a buffer that is too small. At minimum this crashes Git, and because the overflow is large and its contents are largely attacker-controlled, worse heap corruption is possible.

Any command that does a textual three-way merge can trigger it, such as git-merge(1), git-rebase(1), git-cherry-pick(1), and git-merge-tree(1). The latter is most likely a target for Git forges, which might use git-merge-tree(1) on the server-side to check mergeability. When the server reads attributes from trees in the repository (for example through attr.tree or --attr-source), any user who can push branches and request that they be merged (for example by opening a pull or merge request) can trigger the overflow without anyone else doing anything, and the data they push is small because the oversized output only appears during the merge.

The problem has been patched by computing the size as size_t and checking every addition for overflow, so Git stops with an error instead of overflowing.

Servers that cannot upgrade right away can add

  • conflict-marker-size=7

to each repository's info/attributes as a workaround, which overrides any in-tree .gitattributes, or turn off server-side mergeability checks for untrusted repositories.

Veröffentlicht
Aktualisiert

Korrekturen in Distributionen

Technologie-Stack: system

Betroffene Produkte und Versionen

  • git

    Softwareversionen
    • ≥ 0, < 2.49.1: Betroffen (semver)
    • ≥ 2.50.0-rc0, < 2.50.2: Betroffen (semver)
    • ≥ 2.51.0-rc0, < 2.51.3: Betroffen (semver)
    • ≥ 2.52.0-rc0, < 2.52.1: Betroffen (semver)
    • ≥ 2.53.0-rc0, < 2.53.1: Betroffen (semver)
    • ≥ 2.54.0-rc0, < 2.54.1: Betroffen (semver)
    Alle Versionen (8)
    • ≥ 2.55.0-rc0, < 2.55.1: Betroffen (semver)
    • ≥ 2.56.0-rc0, < 2.56.1: Betroffen (semver)

    Auf 2.49.1 aktualisieren; Auf 2.50.2 aktualisieren; Auf 2.51.3 aktualisieren; Auf 2.52.1 aktualisieren; Auf 2.53.1 aktualisieren; Auf 2.54.1 aktualisieren; Auf 2.55.1 aktualisieren; Auf 2.56.1 aktualisieren

  • git Alpine 3.23

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.52.1-r0

    Auf 2.52.1-r0 aktualisieren

  • git Alpine 3.24

    Betroffene Versionsbereiche
    • ECOSYSTEM: < 2.54.1-r0

    Auf 2.54.1-r0 aktualisieren

  • git Debian 12

    Softwareversionen
    • 1:2.39.2+next.20230215-1
    • 1:2.39.2-1.1
    • 1:2.39.5-0+deb12u1
    • 1:2.39.5-0+deb12u2
    • 1:2.39.5-0+deb12u3
    • 1:2.40.0+next.20230313-1
    Alle Versionen (46)
    • 1:2.40.0+next.20230319-1
    • 1:2.40.0-1
    • 1:2.40.0-1+alpha.1
    • 1:2.40.1+next.20230424-1
    • 1:2.40.1+next.20230427-1
    • 1:2.40.1-1
    • 1:2.40.1-1+alpha.1
    • 1:2.42.0-1
    • 1:2.43.0+next.20231120-1
    • 1:2.43.0+next.20240104-1
    • 1:2.43.0-1
    • 1:2.43.0-1+alpha.2
    • 1:2.45.1+next.20240516-1
    • 1:2.45.1-1
    • 1:2.45.2+next.20240614-1
    • 1:2.45.2-1
    • 1:2.45.2-1+alpha.1
    • 1:2.45.2-1.1
    • 1:2.45.2-1.1+alpha.1
    • 1:2.45.2-1.2
    • 1:2.45.2-1.3
    • 1:2.47.1-1
    • 1:2.47.2-0.1
    • 1:2.47.2-0.2
    • 1:2.48.0~rc1+next.20250101-1
    • 1:2.49.0+next.20250314-1
    • 1:2.49.0-1
    • 1:2.49.0-2
    • 1:2.49.0-3
    • 1:2.50.0+next.20250615-1
    • 1:2.50.0-1
    • 1:2.50.0~rc0+next.20250528-1
    • 1:2.50.1-0.1
    • 1:2.51.0+next.20250825-1
    • 1:2.51.0-1
    • 1:2.53.0+next.20260227-1
    • 1:2.53.0-1
    • 1:2.53.0-1+hurd.1
    • 1:2.55.0+next.20260731-1
    • 1:2.55.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • git Debian 13

    Softwareversionen
    • 1:2.47.2-0.2
    • 1:2.47.3-0+deb13u1
    • 1:2.48.0~rc1+next.20250101-1
    • 1:2.49.0+next.20250314-1
    • 1:2.49.0-1
    • 1:2.49.0-2
    Alle Versionen (18)
    • 1:2.49.0-3
    • 1:2.50.0+next.20250615-1
    • 1:2.50.0-1
    • 1:2.50.0~rc0+next.20250528-1
    • 1:2.50.1-0.1
    • 1:2.51.0+next.20250825-1
    • 1:2.51.0-1
    • 1:2.53.0+next.20260227-1
    • 1:2.53.0-1
    • 1:2.53.0-1+hurd.1
    • 1:2.55.0+next.20260731-1
    • 1:2.55.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • git Debian 14

    Softwareversionen
    • 1:2.47.2-0.2
    • 1:2.48.0~rc1+next.20250101-1
    • 1:2.49.0+next.20250314-1
    • 1:2.49.0-1
    • 1:2.49.0-2
    • 1:2.49.0-3
    Alle Versionen (17)
    • 1:2.50.0+next.20250615-1
    • 1:2.50.0-1
    • 1:2.50.0~rc0+next.20250528-1
    • 1:2.50.1-0.1
    • 1:2.51.0+next.20250825-1
    • 1:2.51.0-1
    • 1:2.53.0+next.20260227-1
    • 1:2.53.0-1
    • 1:2.53.0-1+hurd.1
    • 1:2.55.0+next.20260731-1
    • 1:2.55.0-1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • git Ubuntu Pro 16.04 LTS

    Softwareversionen
    • 1:2.5.0-1
    • 1:2.6.2-1
    • 1:2.6.3-1
    • 1:2.6.4-1
    • 1:2.7.0~rc3-1
    • 1:2.7.0-1
    Alle Versionen (29)
    • 1:2.7.3-0ubuntu1
    • 1:2.7.4-0ubuntu1
    • 1:2.7.4-0ubuntu1.1
    • 1:2.7.4-0ubuntu1.2
    • 1:2.7.4-0ubuntu1.3
    • 1:2.7.4-0ubuntu1.4
    • 1:2.7.4-0ubuntu1.5
    • 1:2.7.4-0ubuntu1.6
    • 1:2.7.4-0ubuntu1.7
    • 1:2.7.4-0ubuntu1.8
    • 1:2.7.4-0ubuntu1.9
    • 1:2.7.4-0ubuntu1.10
    • 1:2.7.4-0ubuntu1.10+esm1
    • 1:2.7.4-0ubuntu1.10+esm3
    • 1:2.7.4-0ubuntu1.10+esm4
    • 1:2.7.4-0ubuntu1.10+esm5
    • 1:2.7.4-0ubuntu1.10+esm6
    • 1:2.7.4-0ubuntu1.10+esm7
    • 1:2.7.4-0ubuntu1.10+esm8
    • 1:2.7.4-0ubuntu1.10+esm9
    • 1:2.7.4-0ubuntu1.10+esm10
    • 1:2.7.4-0ubuntu1.10+esm11
    • 1:2.7.4-0ubuntu1.10+esm13
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • git Ubuntu Pro 18.04 LTS

    Softwareversionen
    • 1:2.14.1-1ubuntu4
    • 1:2.15.1-1ubuntu2
    • 1:2.17.0-1ubuntu1
    • 1:2.17.1-1ubuntu0.1
    • 1:2.17.1-1ubuntu0.3
    • 1:2.17.1-1ubuntu0.4
    Alle Versionen (26)
    • 1:2.17.1-1ubuntu0.5
    • 1:2.17.1-1ubuntu0.6
    • 1:2.17.1-1ubuntu0.7
    • 1:2.17.1-1ubuntu0.8
    • 1:2.17.1-1ubuntu0.9
    • 1:2.17.1-1ubuntu0.10
    • 1:2.17.1-1ubuntu0.11
    • 1:2.17.1-1ubuntu0.12
    • 1:2.17.1-1ubuntu0.13
    • 1:2.17.1-1ubuntu0.14
    • 1:2.17.1-1ubuntu0.15
    • 1:2.17.1-1ubuntu0.16
    • 1:2.17.1-1ubuntu0.17
    • 1:2.17.1-1ubuntu0.18
    • 1:2.17.1-1ubuntu0.18+esm1
    • 1:2.17.1-1ubuntu0.18+esm2
    • 1:2.17.1-1ubuntu0.18+esm3
    • 1:2.17.1-1ubuntu0.18+esm4
    • 1:2.17.1-1ubuntu0.18+esm6
    • 1:2.17.1-1ubuntu0.18+esm8
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • git Ubuntu Pro 20.04 LTS

    Softwareversionen
    • 1:2.20.1-2ubuntu1
    • 1:2.24.0-1ubuntu1
    • 1:2.24.0-1ubuntu2
    • 1:2.25.0-1ubuntu1
    • 1:2.25.1-1ubuntu1
    • 1:2.25.1-1ubuntu2
    Alle Versionen (26)
    • 1:2.25.1-1ubuntu3
    • 1:2.25.1-1ubuntu3.1
    • 1:2.25.1-1ubuntu3.2
    • 1:2.25.1-1ubuntu3.3
    • 1:2.25.1-1ubuntu3.4
    • 1:2.25.1-1ubuntu3.5
    • 1:2.25.1-1ubuntu3.6
    • 1:2.25.1-1ubuntu3.7
    • 1:2.25.1-1ubuntu3.8
    • 1:2.25.1-1ubuntu3.10
    • 1:2.25.1-1ubuntu3.11
    • 1:2.25.1-1ubuntu3.12
    • 1:2.25.1-1ubuntu3.13
    • 1:2.25.1-1ubuntu3.14
    • 1:2.25.1-1ubuntu3.14+esm1
    • 1:2.25.1-1ubuntu3.14+esm2
    • 1:2.25.1-1ubuntu3.14+esm3
    • 1:2.25.1-1ubuntu3.14+esm4
    • 1:2.25.1-1ubuntu3.14+esm5
    • 1:2.25.1-1ubuntu3.14+esm6
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • git Ubuntu 22.04 LTS

    Softwareversionen
    • 1:2.32.0-1ubuntu1
    • 1:2.33.1-1ubuntu1
    • 1:2.34.1-1ubuntu1
    • 1:2.34.1-1ubuntu1.1
    • 1:2.34.1-1ubuntu1.2
    • 1:2.34.1-1ubuntu1.4
    Alle Versionen (19)
    • 1:2.34.1-1ubuntu1.5
    • 1:2.34.1-1ubuntu1.6
    • 1:2.34.1-1ubuntu1.8
    • 1:2.34.1-1ubuntu1.9
    • 1:2.34.1-1ubuntu1.10
    • 1:2.34.1-1ubuntu1.11
    • 1:2.34.1-1ubuntu1.12
    • 1:2.34.1-1ubuntu1.13
    • 1:2.34.1-1ubuntu1.14
    • 1:2.34.1-1ubuntu1.15
    • 1:2.34.1-1ubuntu1.16
    • 1:2.34.1-1ubuntu1.17
    • 1:2.34.1-1ubuntu1.18
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • git Ubuntu 24.04 LTS

    Softwareversionen
    • 1:2.40.1-1ubuntu1
    • 1:2.43.0-1ubuntu1
    • 1:2.43.0-1ubuntu5
    • 1:2.43.0-1ubuntu6
    • 1:2.43.0-1ubuntu7
    • 1:2.43.0-1ubuntu7.1
    Alle Versionen (9)
    • 1:2.43.0-1ubuntu7.2
    • 1:2.43.0-1ubuntu7.3
    • 1:2.43.0-1ubuntu7.4
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • git Ubuntu 26.10

    Softwareversionen
    • 1:2.53.0-1ubuntu1
    • 1:2.55.0-1ubuntu1
    • 1:2.55.0-1ubuntu1.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

  • git Ubuntu 26.04 LTS

    Softwareversionen
    • 1:2.51.0-1ubuntu1
    • 1:2.53.0-1ubuntu1
    • 1:2.53.0-1ubuntu1.1
    Betroffene Versionsbereiche
    • ECOSYSTEM: (−∞, +∞)

    Keine Korrektur veröffentlicht

Originalquellen

Prüfen Sie Ihren Server →