patchminder
Proof of concept · GitHub CVE-2026-105437

Buffer overflowin Git.

Published 10 Nov 2026 · Updated 16 Nov 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.5% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

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.

What to do now
  • Upgrade Git to 2.49.1, 2.50.2, 2.51.3, 2.52.1, 2.53.1 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
Git
before 2.49.1
2.49.1
CVE record
Git
2.50.0-rc0 to before 2.50.2
2.50.2
CVE record
Git
2.51.0-rc0 to before 2.51.3
2.51.3
CVE record
Git
2.52.0-rc0 to before 2.52.1
2.52.1
CVE record
Git
2.53.0-rc0 to before 2.53.1
2.53.1
CVE record
Git
2.54.0-rc0 to before 2.54.1
2.54.1
CVE record
Git
2.55.0-rc0 to before 2.55.1
2.55.1
CVE record
Git
2.56.0-rc0 to before 2.56.1
2.56.1
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 5 Oct 2026
    CVE ID reserved by GitLab.
  2. 10 Nov 2026
    Published in the CVE List.
  3. 11 Nov 2026
    First public proof of concept on GitHub.
  4. 16 Nov 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2026-1054370 stars · created 11 Nov 2026PoC for CVE-2026-105437 · Git's three-way merge (xdiff/xmerge.c) sizes the merge output buffer in a 32-bit int, so a committed conflict-marker-size gitattribute plus many conflicts overflows it and
Referencehackerone.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Git vulnerabilities

Same weakness: Heap-based buffer overflow

All CWE-122 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-105437: Buffer overflow in Git. https://patchminder.com/cve/cve-2026-105437/ (accessed 5 December 2026).