CVE-2026-134754
anacrolix/torrent before 1.62.0 Denial of Service via Bencode Decoder Recursion
7.1
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| torrent | anacrolix | 0 → <1.62.0 | 1.62.0 | CVE.org |