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

- Severity: High 7.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-30T22:55:09.000Z
- Modified: 2026-11-24T20:38:28.417Z
- Also known as: GHSA-2wrx-84qj-4pcg, GO-2026-6894
- Weaknesses: CWE-407, CWE-674
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

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

## Every score

- VulnCheck: CVSS:4.0 7.1 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`
- VulnCheck: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/anacrolix/torrent/security/advisories/GHSA-2wrx-84qj-4pcg> (exploit, advisory, vendor-advisory, web)
- <https://pkg.go.dev/vuln/GO-2026-6894> (third-party-advisory)
- <https://github.com/anacrolix/torrent/commit/76452a2c8a2fd9c59d4d4f10fc3495723d538c7b> (fix, patch, web)
- <https://github.com/anacrolix/torrent/blob/v1.61.0/bencode/decode.go#L532-L591> (technical-description)
- <https://github.com/anacrolix/torrent/blob/v1.61.0/metainfo/file-tree.go#L35-L50> (technical-description)
- <https://github.com/anacrolix/torrent/releases/tag/v1.62.0> (release-notes)
- <https://www.vulncheck.com/advisories/anacrolix-torrent-before-1.62.0-denial-of-service-via-bencode-decoder-recursion> (third-party-advisory)
- <https://github.com/anacrolix/torrent> (package)

## Sources

- CVE List: [CVE-2026-134754](https://www.cve.org/CVERecord?id=CVE-2026-134754), CVE Terms of Use, modified 2026-11-23
- GitHub Advisory Database: [GHSA-2wrx-84qj-4pcg](https://github.com/advisories/GHSA-2wrx-84qj-4pcg), CC-BY-4.0, modified 2026-11-22
- Go Vulnerability Database: [GO-2026-6894](https://pkg.go.dev/vuln/GO-2026-6894), CC-BY-4.0, modified 2026-11-22
- NVD: [CVE-2026-134754](https://nvd.nist.gov/vuln/detail/CVE-2026-134754), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-134754 · Whole record: https://cve.day/CVE-2026-134754.json · Rebuilt by cve.day 2026-11-25T22:59:52.597Z
