{"answers":{"affected":"5 open source packages ship an affected version, including github.com/go-git/go-git/v5, github.com/go-git/go-git and github.com/go-git/go-git/v4. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-34165 in the wild and no public exploit code.","fix":"Upgrade github.com/go-git/go-git/v5 to 5.17.1 or later.","what":"CVE-2026-34165 is a medium-severity denial of service vulnerability in go-git, published on 31 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-34165 and fix it if it is affected.\n\nWhat it is: CVE-2026-34165 is a medium-severity denial of service vulnerability in go-git, published on 31 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-34165 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/go-git/go-git/v5 (Go): affected from 5.0.0; fixed in 5.17.1\n- github.com/go-git/go-git/v5 (Go): affected from 5.0.0; fixed in 5.17.1\n- github.com/go-git/go-git/v5 (Go): affected from 5.0.0; fixed in 5.17.1\n- github.com/go-git/go-git (Go): affected all versions; no fix listed\n- github.com/go-git/go-git/v4 (Go): affected all versions; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34165/ (Markdown: https://insights.sbomify.com/CVE-2026-34165/index.md)","id":"CVE-2026-34165","markdown":"https://insights.sbomify.com/CVE-2026-34165/index.md","name":"CVE-2026-34165","record":{"aliases":["CLEANSTART-2026-NA70806","CLEANSTART-2026-QJ54247","CLEANSTART-2026-ZE87460","DEBIAN-CVE-2026-34165","GHSA-jhf3-xxhw-2wpp","GO-2026-4910","MINI-25rj-cgq8-72hc","MINI-28pf-w58w-9cjv","MINI-2ph9-6h7c-j3vr","MINI-2xj6-g8r5-rxrv","MINI-33cj-j7v7-c96x","MINI-34rw-jmr4-58q9","MINI-37mm-3pc9-38w9","MINI-396x-49hg-7h5w","MINI-3rh9-79fr-hmjr","MINI-3xcc-xg6c-cjg2","MINI-45hg-2286-q395","MINI-4fv9-9x6m-j59c","MINI-4vw4-mqf2-3cgw","MINI-4whq-f92g-92xj","MINI-528v-hw48-4qcf","MINI-52h9-gjvc-mjpf","MINI-56m8-7fj6-w2c4","MINI-57qf-v7r2-w3cj","MINI-5g3m-4w42-6h8j","MINI-5qxh-hqrj-9w49","MINI-63vj-4cfr-4qhr","MINI-6458-54g2-qvmx","MINI-646j-3v4m-f39c","MINI-65gx-pq8q-5qrq","MINI-65h9-9wjg-9j9x","MINI-66f8-3r6x-3gxr","MINI-66hm-mqgh-x4h7","MINI-6p44-j4cr-mr9c","MINI-6xx8-x3hv-rqpp","MINI-734q-3vxf-x93r","MINI-74q9-798g-9fp3","MINI-75w6-mrr6-898p","MINI-77rm-v3jm-gh6j","MINI-785h-ffqj-cwxp","MINI-7f67-ccf3-8p2c","MINI-7vm2-f8m3-g3qm","MINI-8fjm-q57x-h7vm","MINI-8gqr-2pxj-5rwj","MINI-8qg5-7gg7-c54m","MINI-9j6w-c386-5v68","MINI-9m72-8gh4-mcqw","MINI-9q6v-jx44-pmhw","MINI-c557-vvv7-crqq","MINI-c7vr-vfq8-9xrg","MINI-ccgx-5chc-gqvv","MINI-cfr7-j6v2-594r","MINI-ch89-qh27-gx56","MINI-cw52-g6w5-p42c","MINI-f36h-6vmv-xr7w","MINI-f555-w8f7-76cf","MINI-f8q3-883w-58vg","MINI-f9q7-3vwm-r5rx","MINI-f9xw-cgmp-mf63","MINI-fmh3-x2p7-wjxf","MINI-fv7c-c3v3-mp8h","MINI-fwc5-gc5g-mvvx","MINI-g5hq-cgg6-f3mw","MINI-gcg5-jxwj-24g5","MINI-gf35-ccph-hp9w","MINI-gfcf-9jqj-75c5","MINI-gpcf-p6g4-jrqj","MINI-h64w-cc96-jhxw","MINI-hmq5-j88j-4j55","MINI-hqj5-8xfh-89rm","MINI-hqq5-hr4h-v83g","MINI-hxmc-25jq-8jh6","MINI-j2hx-737r-wc3j","MINI-j4hw-c5g7-9gm3","MINI-j7hg-x6h7-w4q8","MINI-jf2j-wj33-vwfm","MINI-jf5m-925c-58wr","MINI-jj4w-6r77-gf58","MINI-jm5c-vhf7-hwm6","MINI-m4m6-3m7p-xh83","MINI-m55w-rrqg-chpw","MINI-m896-vxvr-mj5f","MINI-mgg6-55xq-v24x","MINI-mq2p-3qjj-mwv9","MINI-p7q3-pjj4-8j8g","MINI-p8f2-jc7x-x7gq","MINI-phh3-xmv3-jgh7","MINI-pj53-wvq2-xvjr","MINI-pj7x-pp2g-wr32","MINI-pw95-wxv5-v5v8","MINI-q52g-rrw9-c8qv","MINI-q87f-wcq2-8w62","MINI-qcmx-fh74-g4xm","MINI-qf83-q6jx-9vhj","MINI-qg6v-mg8m-5x7w","MINI-qgqp-wf46-5876","MINI-qwgf-vxcv-vg4m","MINI-rhgq-67m5-h8wm","MINI-rmx5-26hx-5fh8","MINI-rqr5-c946-pgpc","MINI-rwhf-crjg-3734","MINI-v349-m59p-vh3g","MINI-v49x-rhpv-mg93","MINI-v9vc-vhhq-w9j8","MINI-vj8v-jhjq-ggqc","MINI-vwm8-rcpr-v948","MINI-vxr8-q66j-g39g","MINI-w22x-42pp-h872","MINI-w2p7-hmcr-gxmg","MINI-w43w-xf49-5642","MINI-w88w-4g3m-8c8j","MINI-wggp-x6qh-w3rp","MINI-whv8-498x-6j95","MINI-wppq-747c-vm4w","MINI-wrc5-qgvm-8729","MINI-wv6p-38xv-f23m","MINI-wvmm-h4gc-8x3p","MINI-wx89-x723-x8mw","MINI-x3qh-p47g-jmxq","MINI-x7q2-6pc6-hq4h","MINI-xm5p-6gvc-m6xg","MINI-xr7x-r3wm-43v6","MINI-xrf6-mcp2-3368","UBUNTU-CVE-2026-34165"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Go Git library","requires_auth":"low_privilege","summary":"A maliciously crafted .idx file in go-git can cause asymmetric memory consumption, leading to a denial-of-service condition.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"go-git","vendor":"go-git_project"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"go-git: Maliciously crafted idx file can cause asymmetric memory consumption","id":"CVE-2026-34165","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":5,"n_references":2,"next":{"headline":"LiquidJS has a Memory Limit Bypass via Quadratic Amplification in `replace` Filter","id":"CVE-2026-34166"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/go-git/go-git","purl":"pkg:golang/github.com/go-git/go-git","source":"GO-2026-4910"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/go-git/go-git/v4","purl":"pkg:golang/github.com/go-git/go-git/v4","source":"GO-2026-4910"},{"ecosystem":"Go","fixed":["5.17.1"],"introduced":["5.0.0"],"last_affected":[],"package":"github.com/go-git/go-git/v5","purl":null,"source":"GHSA-jhf3-xxhw-2wpp"},{"ecosystem":"Go","fixed":["5.17.1"],"introduced":["5.0.0"],"last_affected":[],"package":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","source":"GHSA-jhf3-xxhw-2wpp"},{"ecosystem":"Go","fixed":["5.17.1"],"introduced":["5.0.0"],"last_affected":[],"package":"github.com/go-git/go-git/v5","purl":"pkg:golang/github.com/go-git/go-git/v5","source":"GO-2026-4910"}],"prev":{"headline":"Valtimo: Sensitive data exposure through inbox message logging in InboxHandlingService","id":"CVE-2026-34164"},"products":["go-git"],"published":"2026-03-31","related":[{"cvss_score":9.8,"headline":"Maliciously crafted Git server replies can lead to path traversal and RCE on go-git clients","id":"CVE-2023-49569","kev_date_added":null,"published":"2024-01-12"},{"cvss_score":9.2,"headline":"go-git has an Argument Injection via the URL field","id":"CVE-2025-21613","kev_date_added":null,"published":"2025-01-06"},{"cvss_score":7.5,"headline":"go-git clients vulnerable to DoS via maliciously crafted Git server replies","id":"CVE-2025-21614","kev_date_added":null,"published":"2025-01-06"},{"cvss_score":7.5,"headline":"Maliciously crafted Git server replies can cause DoS on go-git clients","id":"CVE-2023-49568","kev_date_added":null,"published":"2024-01-12"},{"cvss_score":7,"headline":"go-git: Improper parsing of specially crafted objects may lead to inconsistent interpretation compared to upstream Git","id":"CVE-2026-45022","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":5.4,"headline":"go-git: Crafted repositories may modify main and submodule .git directories","id":"CVE-2026-45571","kev_date_added":null,"published":"2026-05-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-02","vendors":["go-git"]},"summary":"A maliciously crafted .idx file in go-git can cause asymmetric memory consumption, leading to a denial-of-service condition.","url":"https://insights.sbomify.com/CVE-2026-34165/"}