Skip to content

CVE-2026-134754 anacrolix/torrent before 1.62.0 Denial of Service via Bencode Decoder Recursion

HighCVSS 7.1 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
anacrolix github.com/anacrolix/torrent < 1.62.0 1.62.0 Fixed
anacrolix github.com/anacrolix/torrent(Go) < 1.61.1-0.20260911233437-76452a2c8a2f 1.61.1-0.20260911233437-76452a2c8a2f Fixed

Affected products

ProductAffected versionsFixed in
anacrolix github.com/anacrolix/torrent(Go) < 1.61.1-0.20260911233437-76452a2c8a2f 1.61.1-0.20260911233437-76452a2c8a2f
anacrolix github.com/anacrolix/torrent < 1.62.0 1.62.0

References