GoSeverity: HighStatus: Published
anacrolix/torrent remote peer crash via negative ut_metadata piece or truncated metadata_size
anacrolix/torrent did not check the lower bound of the bencode-decoded ut_metadata piece index or the extended-handshake metadata_size, which was only checked after truncation to uint32. A single small message from a remote peer can panic the peer connection goroutine and crash the embedding process. Affected versions < 1.62.0. Patched in 1.62.0.
Timeline
- Found
- Reported via private vulnerability report
- Advisory published
- Entry last updated
Machine-readable: JSON · Markdown · ID security/go/anacrolix__torrent/2026-10-06-ut-metadata-negative-index-panic
If this work is useful to you, you can support it on Buy Me a Coffee.