{"id":"CVE-2026-134754","summary":"anacrolix/torrent before 1.62.0 Denial of Service via Bencode Decoder Recursion","details":"anacrolix/torrent before 1.62.0 contains an uncontrolled recursion vulnerability in Decoder.readOneValue in bencode/decode.go that allows attackers to crash the process by supplying deeply nested bencode data. Attackers can deliver crafted .torrent files or magnet link metadata with millions of nested lists to cause a fatal stack overflow, or deeply nested v2 file trees to exhaust CPU.","aliases":["GHSA-2wrx-84qj-4pcg","GO-2026-6894"],"modified":"2026-11-22T16:10:52.905557907Z","published":"2026-11-22T14:16:32.701Z","database_specific":{"cwe_ids":["CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134754.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134754.json"},{"type":"PACKAGE","url":"https://github.com/anacrolix/torrent"},{"type":"ARTICLE","url":"https://github.com/anacrolix/torrent/blob/v1.61.0/bencode/decode.go#L532-L591"},{"type":"ARTICLE","url":"https://github.com/anacrolix/torrent/blob/v1.61.0/metainfo/file-tree.go#L35-L50"},{"type":"FIX","url":"https://github.com/anacrolix/torrent/commit/76452a2c8a2fd9c59d4d4f10fc3495723d538c7b"},{"type":"ADVISORY","url":"https://github.com/anacrolix/torrent/releases/tag/v1.62.0"},{"type":"ADVISORY","url":"https://github.com/anacrolix/torrent/security/advisories/GHSA-2wrx-84qj-4pcg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134754"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2026-6894"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/anacrolix-torrent-before-1.62.0-denial-of-service-via-bencode-decoder-recursion"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/anacrolix/torrent","events":[{"introduced":"0"},{"fixed":"23678893dc7774f1cdfd8db849fa707e5d175b97"},{"fixed":"76452a2c8a2fd9c59d4d4f10fc3495723d538c7b"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"1.62.0"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"76452a2c8a2fd9c59d4d4f10fc3495723d538c7b"}]},{"source":"REFERENCES_TAG","original_tag":"v1.62.0","range":[{"fixed":"23678893dc7774f1cdfd8db849fa707e5d175b97"}]}]}}],"versions":["downstreams/erigon/branch/release/3.4","downstreams/erigon/branch/main","v1.61.0","downstreams/erigon/v3.3.2","downstreams/erigon/branch/release/3.3","downstreams/erigon/v3.3.0-rc.1","v1.60.0","downstreams/erigon/v3.1.0","downstreams/erigon/branch/release/3.2","downstreams/erigon/branch/release/3.1","downstreams/erigon/v3.1.0-rc1","v1.59.1","v1.59.0","v1.58.1","v1.58.0","v1.57.1","v1.57.0","v1.56.1","v1.56.0","v1.55.0","v1.54.0","v1.53.3","v1.53.1","downstreams/erigon/v2.51.0","v1.53.0","downstreams/erigon/v2.49.2","downstreams/erigon/v2.49.1","downstreams/erigon/v2.49.0","v1.52.5","v1.52.4","v1.52.3","v1.52.2","v1.52.1","v1.52.0","downstreams/erigon/v2.45.0","v1.51.3","downstreams/erigon/v2.44.0","v1.51.2","v1.51.1","v1.51.0","v1.50.0","v1.49.1","v1.49.0","downstreams/erigon/v2.40.0","v1.48.0","downstreams/erigon/v2.33.0","v1.47.0","downstreams/erigon/v2022.10.01","downstreams/erigon/v2.27.0","downstreams/erigon/v2022.08.02","downstreams/erigon/v2022.07.03","v1.46.0","v1.45.0","v1.44.0","downstreams/erigon/v2022.06.03","v1.43.1","downstreams/erigon/v2022.05.08","v1.43.0","downstreams/erigon/v2022.05.03","v1.42.0","downstreams/erigon/v2022.05.01","downstreams/erigon/v2022.04.04","v1.41.0","downstreams/erigon/v2022.04.03","v1.40.0","v1.40.1","v1.39.2","v1.39.1","v1.39.0","v1.38.0","v1.37.0","v1.36.0","v1.35.0","v1.33.0","v1.34.0","v1.32.0","v1.30.4","v1.30.3","v1.30.2","v1.30.1","v1.30.0","v1.29.2","v1.29.1","v1.29.0","v1.28.0","v1.27.0","v1.26.1","v1.26.0","v1.26.0-alpha.1","v1.25.0","v1.26.0-alpha","v1.24.0","v1.23.0","v1.22.0","v1.21.0","v1.20.0","v1.19.0","v1.18.0","v1.17.1","v1.17.0","v1.16.0","v1.15.0","v1.14.0","v1.13.0","v1.12.0","v1.11.0","v1.10.0","v1.9.0","v1.8.2","v1.8.1","v1.8.0","v1.7.1","v1.7.0","v1.6.0","v1.5.2","v1.5.1","v1.5.0","v1.4.0","v1.3.1","v1.3.0","v1.2.0","v1.1.4","v1.1.3","v1.1.2","v1.1.1","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-134754.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}