anacrolix/torrent before 1.62.0 Denial of Service via Bencode Decoder Recursion
CVE-2026-134754Published 22 Nov 2026, 14:16 UTC
Real-world risk
2.7/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.1
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulnCheck)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| torrentNiche | < 1.62.0 | 1.62.0 |
What to do
Update to a fixed version: 1.62.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.6% chance of exploitation in 30 days (percentile 48), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.7 × threat 0.952.660
- Rounded to one decimal between 0.1 and 102.7
Exploitation and evidence timeline
- 22 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 2.7 (cvss fallback)
Weakness
CWE-674
References
- https://github.com/anacrolix/torrent/security/advisories/GHSA-2wrx-84qj-4pcgexploit, vendor-advisory
- https://pkg.go.dev/vuln/GO-2026-6894third-party-advisory
- https://github.com/anacrolix/torrent/commit/76452a2c8a2fd9c59d4d4f10fc3495723d538c7bpatch
- https://github.com/anacrolix/torrent/blob/v1.61.0/bencode/decode.go#L532-L591technical-description
- https://github.com/anacrolix/torrent/blob/v1.61.0/metainfo/file-tree.go#L35-L50technical-description
- https://github.com/anacrolix/torrent/releases/tag/v1.62.0release-notes
- https://www.vulncheck.com/advisories/anacrolix-torrent-before-1.62.0-denial-of-service-via-bencode-decoder-recursionthird-party-advisory
- CVE-2026-134754 on CVE.org