CVE-2026-134754
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/anacrolix/torrent | <1.61.1-0.20260911233437-76452a2c8a2f | 1.61.1-0.20260911233437-76452a2c8a2f |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| anacrolix | torrent | {"endExcluding":"1.62.0"} | 1.62.0 |
References
- https://github.com/anacrolix/torrent/blob/v1.61.0/bencode/decode.go#L532-L591
- https://github.com/anacrolix/torrent/blob/v1.61.0/metainfo/file-tree.go#L35-L50
- https://github.com/anacrolix/torrent/commit/76452a2c8a2fd9c59d4d4f10fc3495723d538c7b
- https://github.com/anacrolix/torrent/releases/tag/v1.62.0
- https://github.com/anacrolix/torrent/security/advisories/GHSA-2wrx-84qj-4pcg
- https://pkg.go.dev/vuln/GO-2026-6894
- https://www.vulncheck.com/advisories/anacrolix-torrent-before-1.62.0-denial-of-service-via-bencode-decoder-recursion
- https://github.com/anacrolix/torrent
CWEs
CWE-674
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.