{"id":"CVE-2026-34165","published":"2026-03-31T13:46:37Z","modified":"2026-04-02T15:10:17Z","title":"go-git: Maliciously crafted idx file can cause asymmetric memory consumption","vendor":"go-git","product":"go-git","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00156,"percentile":0.04902,"provenance":"source"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/go-git/go-git/releases/tag/v5.17.1","tags":["x_refsource_MISC"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":0.98},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"go-git","affectedVersions":[{"vendor":"go-git","product":"go-git","versions":[">= 5.0.0, < 5.17.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-02T15:09:59.782648Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/go-git/go-git/v5","vulnerableRanges":[">=5.0.0, <5.17.1"],"patched":["5.17.1"],"from":["GHSA-jhf3-xxhw-2wpp","GO-2026-4910"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/go-git/go-git","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-4910"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/go-git/go-git/v4","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-4910"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-17449","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-21614","published":"2025-01-06","fixed":"5.13.0","kev":false},{"cve":"CVE-2026-25934","published":"2026-02-09","fixed":"5.16.5","kev":false,"link":{"from":"CVE-2026-25934","to":"CVE-2026-34165","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-git/go-git/v5","fromFixed":"5.16.5","toFixed":"5.17.1","daysApart":50}]}},{"cve":"CVE-2026-33762","published":"2026-03-31","fixed":"5.17.1","kev":false},{"cve":"CVE-2026-34165","published":"2026-03-31","fixed":"5.17.1","kev":false},{"cve":"CVE-2026-41506","published":"2026-05-08","fixed":"5.18.0","kev":false},{"cve":"CVE-2026-45022","published":"2026-05-27","fixed":"5.19.0","kev":false},{"cve":"CVE-2026-45570","published":"2026-05-27","fixed":"5.19.1","kev":false}],"package":"Go:github.com/go-git/go-git/v5"}}