{"id":"CVE-2026-34165","state":"PUBLISHED","title":"go-git: Maliciously crafted idx file can cause asymmetric memory consumption","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.","publishedAt":"2026-03-31T13:46:37.688Z","updatedAt":"2026-04-02T15:10:17.724Z","severity":{"score":5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["go-git go-git"],"affected":[{"vendor":"go-git","product":"go-git","versions":[{"version":">= 5.0.0, < 5.17.1","status":"affected"}]}],"references":["https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp","https://github.com/go-git/go-git/releases/tag/v5.17.1"],"weaknesses":["CWE-191","CWE-770"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/34xxx/CVE-2026-34165.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-34165","state":"PUBLISHED","datePublished":"2026-03-31T13:46:37.688Z","dateUpdated":"2026-04-02T15:10:17.724Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-25T20:12:04.197Z"},"containers":{"cna":{"title":"go-git: Maliciously crafted idx file can cause asymmetric memory consumption","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"go-git","product":"go-git","versions":[{"version":">= 5.0.0, < 5.17.1","status":"affected"}]}],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp","name":"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","name":"https://github.com/go-git/go-git/releases/tag/v5.17.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-191","lang":"en","description":"CWE-191: Integer Underflow (Wrap or Wraparound)","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-31T13:46:37.688Z"},"source":{"advisory":"GHSA-jhf3-xxhw-2wpp","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-02T15:09:59.782648Z","id":"CVE-2026-34165","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-02T15:10:17.724Z"}}]}}}