Home / Git / Git / CVE-2026-105437
CVE-2026-105437: is it exploited, and which versions of Git are affected and fixed?
CVE-2026-105437 is a heap buffer overflow vulnerability in Git. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: Git before 2.49.1, Git from 2.50.0-rc0 before 2.50.2, Git from 2.51.0-rc0 before 2.51.3 and 5 more (CVE record by GitLab). Fixed in 2.49.1, 2.50.2, 2.51.3, 2.52.1 and 2 more (CVE record by GitLab). Severity: High (7.5, CVSS 3.1, from GitLab).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-105437?
Heap-based Buffer Overflow in Git
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.
From the CVE record by GitLab, last updated November 16, 2026, 18:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Git | Git | before 2.49.1 from 2.50.0-rc0 before 2.50.2 from 2.51.0-rc0 before 2.51.3 from 2.52.0-rc0 before 2.52.1 from 2.53.0-rc0 before 2.53.1 from 2.54.0-rc0 before 2.54.1 from 2.55.0-rc0 before 2.55.1 from 2.56.0-rc0 before 2.56.1 | 2.49.1, 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, 2.56.1 |
As the CVE record by GitLab states it, last updated November 16, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-105437?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | GitLab |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-105437 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, November 16, 2026)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-122 Heap-based Buffer Overflow
How do I fix it? (from the CVE record)
Upgrade to versions 2.50.2, 2.51.3, 2.52.1, 2.53.1, 2.54.1, 2.55.1, 2.56.1 or above.
Where are the vendor advisories and references?
- https://gitlab.com/gitlab-org/git/-/work_items/814
- https://gitlab.com/gitlab-org/gitlab/-/work_items/632121
- HackerOne Bug Bounty Report #4044249 technical-description, exploit, permissions-required
Who found and reported it?
- Thanks [taise](https://hackerone.com/taise) for reporting this vulnerability through HackerOne (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 5, 2026
- Published
- November 10, 2026, 18:34 UTC
- CVE record updated
- November 16, 2026, 18:22 UTC by GitLab
- NVD
- Deferred, last modified November 16, 2026, 19:17 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Git?
- Jul 8, 2025CVE-2025-48384 git: interpretation Conflict exploited
- Nov 16, 2026CVE-2026-111760 git: link following (a symlink lets an attacker reach other files)
- Nov 12, 2026CVE-2026-114467 Git: out-of-bounds write (memory corruption)
- Nov 12, 2026CVE-2026-114466 Git: insufficient Granularity of Access Control
- Nov 12, 2026CVE-2026-114469 Git: out-of-bounds read
- Nov 12, 2026CVE-2026-113408 Git: path traversal (reading or writing files outside the intended folder)
- Jul 8, 2025CVE-2025-48385 git: argument injection
- Jul 8, 2025CVE-2025-48386 git: buffer overflow
Questions about CVE-2026-105437
Is CVE-2026-105437 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Git are affected by CVE-2026-105437?
Git before 2.49.1, Git from 2.50.0-rc0 before 2.50.2, Git from 2.51.0-rc0 before 2.51.3, Git from 2.52.0-rc0 before 2.52.1, Git from 2.53.0-rc0 before 2.53.1, Git from 2.54.0-rc0 before 2.54.1 and 2 more, per the CVE record by GitLab. The tables above give every range the sources list.
Which version fixes CVE-2026-105437?
2.49.1, 2.50.2, 2.51.3, 2.52.1, 2.53.1 and 2.54.1, per the CVE record by GitLab. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-105437?
High (7.5, CVSS 3.1, from GitLab). The severity table above shows each score with its source.
Where is the official record of CVE-2026-105437?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.