CVE-2026-134754
CVE-2026-134754 · anacrolix/torrent before 1.62.0 Denial of Service via Bencode Decoder Recursion
CVSS 7.1 · High · EPSS 0.6% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- torrentUpdate to 1.62.0
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
torrent
- Versions
- ≥ 0, < 1.62.0: Affected (semver)
Update to 1.62.0
Original sources
- https://github.com/anacrolix/torrent/security/advisories/GHSA-2wrx-84qj-4pcg
- https://pkg.go.dev/vuln/GO-2026-6894
- https://github.com/anacrolix/torrent/commit/76452a2c8a2fd9c59d4d4f10fc3495723d538c7b
- 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/releases/tag/v1.62.0
- https://www.vulncheck.com/advisories/anacrolix-torrent-before-1.62.0-denial-of-service-via-bencode-decoder-recursion
- https://nvd.nist.gov/vuln/detail/CVE-2026-134754