Skip to content
Medium 7.1

anacrolix/torrentに細工されたBencodeデータで処理が停止する脆弱性

CVE-2026-134754 First seen on SecPulse

Summary

anacrolix/torrentの1.62.0より前のバージョンには、深くネストされたBencodeデータを処理する際に再帰が制御されていない脆弱性があります。細工された.torrentファイルやマグネットリンクのメタデータを読み込ませると、プロセスがクラッシュしたり、CPUの使用率が高まったりするおそれがあります。対策として、1.62.0以降に更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

anacrolix/torrentの1.62.0より前のバージョンには、深くネストされたBencodeデータを処理する際に再帰が制御されていない脆弱性があります。細工された.torrentファイルやマグネットリンクのメタデータを読み込ませると、プロセスがクラッシュしたり、CPUの使用率が高まったりするおそれがあります。対策として、1.62.0以降に更新してください。

Affected packages

PackageAffected → Fixed
anacrolixtorrent
< 1.62.0→ 1.62.0
Gogithub.com/anacrolix/torrent
< 1.61.1-0.20260911233437-76452a2c8a2f→ 1.61.1-0.20260911233437-76452a2c8a2f
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details