{"cve":"CVE-2026-34165","nvd":{"published":"2026-03-31T15:16:17.343","modified":"2026-07-24T21:10:00.143","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5.0},"cwes":["CWE-191","CWE-770"],"references":["https://github.com/go-git/go-git/releases/tag/v5.17.1","https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp"],"products":["go-git_project:go-git"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-34165","score":0.00153,"percentile":0.04421,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jhf3-xxhw-2wpp","url":"https://osv.dev/vulnerability/GHSA-jhf3-xxhw-2wpp","summary":"go-git: Maliciously crafted idx file can cause asymmetric memory consumption","modified":"2026-09-10T03:50:39.836995976Z","packages":[{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","ranges":[">=5.0.0 <5.17.1"],"fixed":["5.17.1"]}]},{"id":"GO-2026-4910","url":"https://osv.dev/vulnerability/GO-2026-4910","summary":"Maliciously crafted idx file can cause asymmetric memory consumption in github.com/go-git/go-git","modified":"2026-04-08T15:44:15.764824341Z","packages":[{"ecosystem":"Go","name":"github.com/go-git/go-git","purl":"pkg:golang/github.com/go-git/go-git","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/go-git/go-git/v4","purl":"pkg:golang/github.com/go-git/go-git/v4","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","ranges":[">=5.0.0 <5.17.1"],"fixed":["5.17.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}