SEVERITY NOT PROVIDED EPSS 0.6% · 40th percentile

CVE-2026-134754: anacrolix torrent has unbounded recursion in the bencode decoder that causes stack-overflow crash and CPU-exhaustion DoS in github.com/anacrolix/torrent

Published 2026-11-05 · Updated 2026-11-22 · Also known as GHSA-2wrx-84qj-4pcg, GO-2026-6894

Summary

The anacrolix torrent library contains an unbounded recursion vulnerability within its bencode decoder. Developers using this library should update to the specified patched version to prevent stack-overflow crashes and CPU exhaustion.

Who is affected

Affected deployments are susceptible to denial-of-service (DoS) attacks when processing malicious bencode data. The vulnerability triggers stack exhaustion and excessive CPU usage, potentially crashing the application or rendering it unresponsive.

Exploitability

The exploitability is not documented as there is no provided CVSS vector, EPSS score, or record in the CISA Known Exploited Vulnerabilities catalog. The lack of specific exploit data means the current real-world threat level cannot be definitively calculated.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-22. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/anacrolix/torrent >= 0, < 1.61.1-0.20260911233437-76452a2c8a2f 1.61.1-0.20260911233437-76452a2c8a2f go get github.com/anacrolix/[email protected]

FAQ

Is this vulnerability actively exploited?

There is no evidence of active exploitation, as the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.

What specifically triggers the DoS condition?

The DoS is triggered by unbounded recursion in the bencode decoder, which leads to stack exhaustion and CPU-intensive processing when parsing crafted inputs.

Where can I find the official fix?

The fix is included in version 1.61.1-0.20260911233437-76452a2c8a2f of github.com/anacrolix/torrent.

Original advisory description
anacrolix torrent has unbounded recursion in the bencode decoder that causes stack-overflow crash and CPU-exhaustion DoS in github.com/anacrolix/torrent

References

Source records: GO-2026-6894 (OSV.dev) · EPSS by FIRST, 2026-11-26.