CVE-2026-34165
MEDIUMVulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
|
| Impact | CVSS 5.0 with local attack vector (AV:L) and low privilege requirement (PR:L) combined with required user interaction (UI:R) produces a moderate but real risk profile. The attack vector is constrained to local exploitation, and the attacker must already possess low-privilege access to the system and the ability to write to or modify repository files. CVSS emphasizes availability impact (A:H) with no confidentiality or integrity compromise. The integer overflow tag and DoS nature suggest this is not a speculative scoring but a confirmed memory exhaustion mechanism. However, the requirement for local file system write access and user interaction significantly reduces exploitability compared to remote network-vector vulnerabilities. Risk is elevated for development teams using untrusted dependency sources or for CI/CD pipelines that process externally-supplied Git repositories without repository integrity validation. |
| Exploit ScenarioDerived | An attacker with local access to a shared development environment or a compromised CI/CD worker injects a maliciously crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 30, 2026
Maliciously crafted .idx files in go-git v5 cause asymmetric memory consumption leading to Denial of Service through integer overflow vulnerabilities. Exploitation requires local write access to the .git directory, limiting attack surface to scenarios where an attacker has already compromised repository access or can inject files into a shared repository. No public exploit code or active exploitation has been confirmed; however, the low CVSS complexity and requirement for only low-privilege local access make this a moderate operational concern for development environments and CI/CD systems that process untrusted repositories.
RemediationAI
Vendor-released patch: Upgrade go-git to v5.17.1 or migrate to the latest v6 pseudo-version. For Go module-based projects, execute go get -u github.com/go-git/go-git/v5@v5.17.1 or transition to v6 via go get -u github.com/go-git/go-git/v6@latest. If immediate patching is not feasible, restrict write access to .git directories in shared development or CI/CD environments and validate repository sources before processing. See the official advisory at https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp for additional context.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in go-git (github.com/go-git/go-git), a pure Go implementation of Git that lacks bindings to platform-specific code. The root cause is an integer overflow condition (CWE-191) triggered by maliciously formatted Git index (.idx) files. Git index files contain metadata about staged objects and are parsed during repository operations. The integer overflow causes memory allocation calculations to wrap, resulting in undersized buffer allocation followed by excessive write operations that exhaust heap memory. This is a parsing-layer vulnerability in the go-git library's index file handler, affecting any application that uses go-git v5 to interact with Git repositories without validating index file integrity.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Primary rating from Vendor (https://github.com/go-git/go-git).
CVSS VectorVendor: https://github.com/go-git/go-git
Lifecycle Timeline
2DescriptionCVE.org
Impact
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.
Patches
Users should upgrade to v5.17.1, or the latest v6 pseudo-version, in order to mitigate this vulnerability.
Credit
The go-git maintainers thank @kq5y for finding and reporting this issue privately to the go-git project.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)CVE.org
Same weakness CWE-191 – Integer Underflow
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Low| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
GHSA-jhf3-xxhw-2wpp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB