CVE-2026-57080

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

No configuration.

History

25 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Las versiones de Net::BitTorrent hasta la 2.0.1 para Perl permiten el agotamiento remoto de la memoria a través de un prefijo de longitud de mensaje peer-wire sin límite. El encuadre peer-wire en _process_messages confía en el prefijo de longitud de 4 bytes enviado por un par conectado sin límite superior, mientras que receive_data añade cada byte entrante al búfer de entrada. Un par anuncia un prefijo de longitud de hasta aproximadamente 4 GiB y luego transmite bytes; el decodificador espera hasta que el búfer contenga el mensaje completo antes de procesarlo, por lo que el búfer crece sin límite. Las conexiones de pares no están autenticadas, por lo que cualquier par en el enjambre agota la memoria del proceso de descarga. El mensaje legítimo más grande es un bloque de pieza de 16 KiB, por lo que cualquier longitud anunciada muy por encima de eso es anómala.

20 Jul 2026, 07:16

Type Values Removed Values Added
Summary (en) Net::BitTorrent versions through 2.0.1 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. (en) 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.
References
  • () https://metacpan.org/release/SANKO/Net-BitTorrent-v2.1.0/changes -

30 Jun 2026, 14:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5

30 Jun 2026, 12:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-30 12:16

Updated : 2026-10-25 21:10


NVD link : CVE-2026-57080

Mitre link : CVE-2026-57080

CVE.ORG link : CVE-2026-57080


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-770

Allocation of Resources Without Limits or Throttling