Integer overflow in Go-Git
CVE-2026-34165
go-git is an extensible git implementation library written in pure Go. From version 5.0.0 to before version 5.17.1, a vulnerability has been identified in which a maliciously crafted .idx file can cause asymmetric memory consumption, potentially exhausting available memory and resulting in a denial-of-service (DoS) condition. Exploitation requires write access to the local repository's .git directory, it order to create or alter existing .idx files. This issue has been patched in version 5.17.1.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.001 (3.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 4th percentile — 3.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.001 · change: +0.000
Affected products
- Go-Git — versions >= 5.0.0, < 5.17.1
- Go-Git Project
Weakness classification (CWE)
References
- github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp (Vendor Advisory)
- github.com/go-git/go-git/releases/tag/v5.17.1 (Product, Release Notes)
Frequently asked questions
- What is CVE-2026-34165?
- CVE-2026-34165 is a medium-severity vulnerability in Go-Git, classified under Integer Underflow. CVSS score: 5.0/10. Published 2026-03-31.
- How severe is CVE-2026-34165?
- Medium severity. CVSS v3 base score is 5.0 out of 10.