CVE-2026-57080
published high CVSS 3.1 · 7.5Net::BitTorrent versions through 2.1.0 for Perl allow remote memory exhaustion via an uncapped peer-wire message-length prefix
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SANKO | — | Net-BitTorrentNet::BitTorrent · 0 through 2.1.0 · Other versions: unaffected | Affected | Not stated | CPANSec |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SANKO | Net::BitTorrent | 0 through 2.1.0 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling
- CWE-400 CWE-400 Uncontrolled Resource Consumption
References
2Provider assertions
2CPANSec · cna
Net::BitTorrent versions through 2.1.0 for Perl allow remote memory exhaustion via an uncapped peer-wire message-length prefix
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 64814c4fa4d9c2f5f11fb0d3d2fc5370c333149b766489645ad06cdd390c1835
- Ingested
- 23 Sep 2026, 09:21:43 UTC
- Source record
- Official CVE record