{"schema_version":"1.7.5","id":"GHSA-jhf3-xxhw-2wpp","published":"2026-03-30T17:17:54Z","modified":"2026-04-07T15:26:08.746869993Z","aliases":["CVE-2026-34165","GO-2026-4910"],"related":["CGA-m74g-hr5c-wfmv"],"summary":"go-git: Maliciously crafted idx file can cause asymmetric memory consumption","details":"### Impact\n\nA 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.\n\nExploitation requires write access to the local repository's `.git` directory, it order to create or alter existing `.idx` files. \n\n### Patches\n\nUsers should upgrade to `v5.17.1`, or the latest `v6` [pseudo-version](https://go.dev/ref/mod#pseudo-versions), in order to mitigate this vulnerability.\n\n### Credit\n\nThe go-git maintainers thank @kq5y for finding and reporting this issue privately to the `go-git` project.","affected":[{"package":{"name":"github.com/go-git/go-git/v5","ecosystem":"Go","purl":"pkg:golang/github.com/go-git/go-git/v5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"5.0.0"},{"fixed":"5.17.1"}]}],"database_specific":{"last_known_affected_version_range":"<= 5.17.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-jhf3-xxhw-2wpp/GHSA-jhf3-xxhw-2wpp.json"}}],"references":[{"type":"WEB","url":"https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34165"},{"type":"PACKAGE","url":"https://github.com/go-git/go-git"},{"type":"WEB","url":"https://github.com/go-git/go-git/releases/tag/v5.17.1"}],"database_specific":{"cwe_ids":["CWE-191","CWE-770"],"github_reviewed":true,"github_reviewed_at":"2026-03-30T17:17:54Z","nvd_published_at":"2026-03-31T15:16:17Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H"}]}