Uncontrolled recursion in anacrolix torrent bencode decoder
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-674.
Summary
anacrolix/torrent before 1.62.0 contains uncontrolled recursion in Decoder.readOneValue in bencode/decode.go, which is CWE-674. If a user loads a crafted .torrent file or magnet link metadata containing deeply nested bencode data, an attacker can crash the process with a stack overflow. Deeply nested v2 file trees can also exhaust CPU.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade anacrolix/torrent to version 1.62.0 or later, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA torrent (anacrolix) Fixed in 1.62.0
Timeline
- 2026-11-22 Threatist record created from CVE-2026-134754
- 2026-11-22 Alias added: GHSA-39p7-rxxv-rgxj
- 2026-11-23 CISA SSVC decision points changed
References
More anacrolix vulnerabilities
- TI-2026-85478 Memory exhaustion in anacrolix/torrent via HTTP tracker responses CVSS 4.0HIGH 7.1
- TI-2026-96555 Improper certificate validation in anacrolix torrent HTTPS tracker client CVSS 4.0MEDIUM 6.3
Sources
- CVE-2026-134754 · CVE Program
- CVE-2026-134754 · NVD
- FIRST EPSS
- GHSA-39p7-rxxv-rgxj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences