Advisory record · GHSA-2wrx-84qj-4pcg

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

CVSS 6.5 Medium

Published by the GitHub Advisory Database at 30 Oct 2026, 22:55 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/anacrolix/torrentGo<1.61.1-0.20260911233437-76452a2c8a2f1.61.1-0.20260911233437-76452a2c8a2f
Identifiers
GHSA-2wrx-84qj-4pcg · GO-2026-6894
Weakness (CWE)
CWE-407 · CWE-674
Published
30 Oct 2026
Updated
5 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

github.com/anacrolix/torrent versions before 1.61.1-0.20260911233437-76452a2c8a2f have unbounded recursion in their bencode decoder. Opening a crafted .torrent file or fetching metadata from a malicious peer can crash the process or exhaust CPU. Upgrade to 1.61.1-0.20260911233437-76452a2c8a2f.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.5 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 14:11 UTC First seen by agentprime
  2. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.