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

Published Updated

Deeply nested bencode data in torrent files or magnet links crashes the process via stack overflow; users of the torrent library should care.

CVSS score

High

7.1/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
1.61.1-0.20260911233437-76452a2c8a2f
Attack path
Over the internet
No login, a user must click or open something

What is CVE-2026-134754?

CVE-2026-134754 is a high-severity denial of service vulnerability in anacrolix torrent, published on 22 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-674

How severe is CVE-2026-134754?

CVE-2026-134754 scores 7.1 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
None
Availability
High

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134754?

2 open source packages ship an affected version, including github.com/anacrolix/torrent.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
github.com/anacrolix/torrent Go
pkg:golang/github.com/anacrolix/torrent
All versions1.61.1-0.20260911233437-76452a2c8a2f
github.com/anacrolix/torrent Go
pkg:golang/github.com/anacrolix/torrent
All versions1.61.1-0.20260911233437-76452a2c8a2f
Status by vendor 1
WhoReleaseStatusPackages
Upstreamfixedgithub.com/anacrolix/torrent (1.61.1-0.20260911233437-76452a2c8a2f)
pkg:golang/github.com/anacrolix/torrent

How do I fix CVE-2026-134754?

Upgrade github.com/anacrolix/torrent to 1.61.1-0.20260911233437-76452a2c8a2f or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-134754 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134754 exists.

Sources

Also known as GHSA-2wrx-84qj-4pcg, GHSA-39p7-rxxv-rgxj, GO-2026-6894.

Is CVE-2026-134754 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free