CVE-2026-34165
Maliciously crafted idx file can cause asymmetric memory consumption in github.com/go-git/go-git
Description
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.
How to fix CVE-2026-34165
To remediate CVE-2026-34165, upgrade the affected package to a fixed version below.
- —no fix listed
- —no fix listed
- —no fix listed
- —upgrade to 5.17.1 or later
- —upgrade to 5.17.1 or later
Is CVE-2026-34165 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0
- from 0
- from 0
- >= 5.0.0, < 5.17.1
- >= 5.0.0, < 5.17.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |