Advisory

GO-2026-6894

Also known as: GHSA-2wrx-84qj-4pcg

Summary

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

Details

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

Severity

Not rated by the source.

Dates

Published
2026-11-05 22:55 UTC
Modified
2026-11-05 23:15 UTC

Affected packages and fixes

github.com/anacrolix/torrent

Go · All systems

Affected

  • introduced 0, fixed 1.61.1-0.20260911233437-76452a2c8a2f (semver)

Fixed versions

1.61.1-0.20260911233437-76452a2c8a2f

Fix

  • Fixed version 1.61.1-0.20260911233437-76452a2c8a2f
    go get github.com/anacrolix/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences