VulnWatch by ve1ve2
high 7.1

GO-2026-6894: anacrolix torrent has unbounded recursion in the bencode decoder that causes stack-overflow crash and CPU-exhaustion DoS in github.com/anacrolix/torrent

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
github.com/anacrolix/torrent

https://osv.dev/vulnerability/GO-2026-6894 ↗

osvgofix-available

anacrolix torrent has unbounded recursion in the bencode decoder that causes stack-overflow crash and CPU-exhaustion DoS in github.com/anacrolix/torrent Affected: Go:github.com/anacrolix/torrent Fixed in: 1.61.1-0.20260911233437-76452a2c8a2f References: https://github.com/anacrolix/torrent/security/advisories/GHSA-2wrx-84qj-4pcg https://github.com/anacrolix/torrent/commit/76452a2c8a2fd9c59d4d4f10fc3495723d538c7b

Linked vulnerabilities (2)

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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.

CWE: CWE-674, CWE-407Aliases: GHSA-2wrx-84qj-4pcgNVD: Received
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

anacrolix torrent has unbounded recursion in the bencode decoder that causes stack-overflow crash and CPU-exhaustion DoS

CWE: CWE-407, CWE-674Aliases: CVE-2026-134754

Also reported by (2)