Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134754: high-severity vulnerability (CVSS 7.1) in anacrolix torrent.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 7.1.
Affected products and versions
anacrolix torrent < 1.62.0
| Product | Versions | Fixed in |
|---|---|---|
| anacrolix torrent | < 1.62.0 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/anacrolix/torrent/security/advisories/GHSA-2wrx-84qj-4pcg — CVE Program
- https://pkg.go.dev/vuln/GO-2026-6894 — CVE Program
- https://github.com/anacrolix/torrent/commit/76452a2c8a2fd9c59d4d4f10fc3495723d538c7b — CVE Program
- https://github.com/anacrolix/torrent/blob/v1.61.0/bencode/decode.go#L532-L591 — CVE Program
- https://github.com/anacrolix/torrent/blob/v1.61.0/metainfo/file-tree.go#L35-L50 — CVE Program
- https://github.com/anacrolix/torrent/releases/tag/v1.62.0 — CVE Program
- https://www.vulncheck.com/advisories/anacrolix-torrent-before-1.62.0-denial-of-service-via-bencode-decoder-recursion — CVE Program
Weaknesses (CWE): CWE-674
Relevant change history
Published
Preliminary advisory published.