Vulnerability Description
Net::BitTorrent versions through 2.1.0 for Perl allow remote memory exhaustion via an uncapped peer-wire message-length prefix. The peer-wire framing in _process_messages trusts the 4-byte length prefix sent by a connected peer with no upper bound, while receive_data appends every inbound byte to the input buffer. A peer announces a length prefix of up to about 4 GiB and then streams bytes; the decoder waits until the buffer holds the full message before processing it, so the buffer grows without limit. Peer connections are unauthenticated, so any peer in the swarm exhausts the downloading process's memory. The largest legitimate message is a 16 KiB piece block, so any announced length far above that is anomalous.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/sanko/Net-BitTorrent.pm/security/advisories/GHSA-7jr6-2jf4-6q
- https://metacpan.org/release/SANKO/Net-BitTorrent-v2.1.0/changes
FAQ
What is CVE-2026-57080?
CVE-2026-57080 is a vulnerability with a CVSS score of 7.5 (HIGH). Net::BitTorrent versions through 2.1.0 for Perl allow remote memory exhaustion via an uncapped peer-wire message-length prefix. The peer-wire framing in _process_messages trusts the 4-byte length pre...
How severe is CVE-2026-57080?
CVE-2026-57080 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-57080?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.