{"id":"CVE-2026-34165","aliases":["CVE-2026-34165","GHSA-jhf3-xxhw-2wpp","GO-2026-4910"],"related":["CGA-m74g-hr5c-wfmv"],"kind":"vulnerability","state":"published","title":"go-git: Maliciously crafted idx file can cause asymmetric memory consumption","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Maliciously crafted idx file can cause asymmetric memory consumption in github.com/go-git/go-git","format":"markdown","source":"go"},{"lang":"es","text":"go-git es una biblioteca de implementación de git extensible escrita en Go puro. Desde la versión 5.0.0 hasta antes de la versión 5.17.1, se ha identificado una vulnerabilidad en la que un archivo .idx creado maliciosamente puede causar un consumo asimétrico de memoria, agotando potencialmente la memoria disponible y resultando en una condición de denegación de servicio (DoS). La explotación requiere acceso de escritura al directorio .git del repositorio local, para crear o alterar archivos .idx existentes. Este problema ha sido parcheado en la versión 5.17.1.","source":"nvd"}],"published":"2026-03-30T17:17:54.000Z","modified":"2026-09-10T03:50:39.836Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","score":5,"rating":"MEDIUM"}],"cwes":["CWE-191","CWE-770"],"affected":[{"ranges":[{"version":">= 5.0.0, < 5.17.1","status":"affected"}],"vendor":"go-git","product":"go-git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.17.1"}],"ecosystem":"Go","package":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/go-git/go-git","purl":"pkg:golang/github.com/go-git/go-git","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/go-git/go-git/v4","purl":"pkg:golang/github.com/go-git/go-git/v4","source":"go"},{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.17.1"}],"ecosystem":"Go","package":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","source":"go"},{"ranges":[{"status":"affected","introduced":"5.0.0","fixed":"5.17.1"}],"vendor":"go-git_project","product":"go-git","cpe":"cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-jhf3-xxhw-2wpp","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/go-git/go-git/releases/tag/v5.17.1","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34165","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/go-git/go-git","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-02T15:09:59.782Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34165","url":"https://www.cve.org/CVERecord?id=CVE-2026-34165","licence":"CVE Terms of Use","modified":"2026-04-02T15:10:17.724Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jhf3-xxhw-2wpp","url":"https://github.com/advisories/GHSA-jhf3-xxhw-2wpp","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:39.836Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4910","url":"https://pkg.go.dev/vuln/GO-2026-4910","licence":"CC-BY-4.0","modified":"2026-04-08T15:44:15.764Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34165","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34165","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:17.586Z","epss":{"score":0.00172,"percentile":0.06867,"date":"2026-12-01T12:00:22.000Z"}}