Skip to main content

Net::BitTorrent CVE-2026-57080

| EUVDEUVD-2026-40289 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-06-30 CPANSec GHSA-h9mr-rh28-v9r2
7.5
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Join victim's torrent swarm as peer
  2. Delivery
    Complete peer-wire handshake
  3. Exploit
    Announce ~4 GiB message length prefix
  4. Execution
    Stream bytes filling input buffer
  5. Impact
    Exhaust process memory (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires only that the victim is running Net::BitTorrent (≤2.0.1) and is connected to the attacker as a peer in a swarm - peer connections are unauthenticated, so any peer the victim connects to or accepts can trigger it. The attacker must be able to complete a peer-wire handshake and send a message with a length prefix far above the 16 KiB legitimate maximum (up to ~4 GiB). The limiting factor is reachability: the target must actively participate in a torrent swarm that includes the attacker's peer, and impact is denial of service only (memory exhaustion), with no path to code execution or data disclosure. No special non-default configuration, user interaction, or authentication is needed.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H = 7.5 HIGH) is internally consistent with the description: network reachable, low complexity, no privileges, no user interaction, and an availability-only impact - there is no confidentiality or integrity exposure, only denial of service via memory exhaustion. No EPSS score, KEV status, SSVC decision, or POC was supplied, so probabilistic and real-world-exploitation signals are absent rather than low. The realistic risk is bounded by deployment footprint: Net::BitTorrent is a niche pure-Perl module, so while exploitation is technically easy and unauthenticated, the population of exposed production systems is small. This is a genuine, easy-to-trigger availability bug rather than a high-severity scoring artifact, but its practical priority is moderated by the obscurity of the affected product and the DoS-only impact. No conflicting signals were observed between the CVSS vector and the description.

Exploit ScenarioDerived

An attacker joins the target's torrent swarm as an ordinary unauthenticated peer, completes the handshake, and sends a peer-wire message header announcing a length prefix near 4 GiB, then slowly streams bytes. The victim's Net::BitTorrent process buffers all incoming bytes while waiting for the full message, consuming memory until it is exhausted and the process crashes or the host degrades. No public exploit code is identified at time of analysis, but the low attack complexity makes weaponization trivial.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 30, 2026

Remote memory exhaustion in the Net::BitTorrent Perl module (all versions through 2.0.1) lets any unauthenticated peer in a torrent swarm crash the downloading process by abusing the peer-wire protocol's length-prefix framing. Because the decoder buffers an entire announced message before processing and trusts an attacker-supplied length prefix of up to ~4 GiB, a single malicious peer can drive the victim's memory toward exhaustion. There is no public exploit identified at time of analysis and no CISA KEV listing, but the attack is trivial and requires no authentication; EPSS data was not provided.

RemediationAI

No vendor-released patched version is identified in the available data; the only fix reference is the GitHub Security Advisory GHSA-7jr6-2jf4-6qc4 (https://github.com/sanko/Net-BitTorrent.pm/security/advisories/GHSA-7jr6-2jf4-6qc4), so consult it for the fixed release and upgrade beyond 2.0.1 once published. As a compensating control, enforce a sane upper bound on the peer-wire length prefix in _process_messages - reject or disconnect any peer announcing a message length above the 16 KiB maximum legitimate piece-block size (plus small protocol headroom), which is the cleanest mitigation since no legitimate message exceeds that; the trade-off is a local code patch until an upstream release lands. Additionally, cap the per-connection input buffer in receive_data and drop connections that exceed it, and restrict or rate-limit inbound peer connections (e.g., firewall the listening port to trusted peers) - at the cost of reduced swarm connectivity and download performance.

Affected VersionsENISA

Net::BitTorrent 0 ≤2.0.1

Affected Packages

euvd net_bittorrent no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Net::BitTorrent implements the BitTorrent peer-wire protocol in pure Perl. In that protocol each message is framed with a 4-byte big-endian length prefix followed by the message body. The flaw is in _process_messages, which trusts the peer-supplied 4-byte length prefix with no upper bound, combined with receive_data, which appends every inbound byte to an input buffer and waits until the full announced message has arrived before decoding it. This is a textbook CWE-770 (Allocation of Resources Without Limits or Throttling): a peer can announce a length of up to ~4 GiB and stream bytes, causing the input buffer to grow unbounded. The CPE cpe:2.3:a:sanko:net::bittorrent identifies the affected component as the 'sanko' Net::BitTorrent distribution on CPAN. Notably, the largest legitimate peer-wire message is a 16 KiB piece block, so any announced length materially above 16 KiB is anomalous and could be rejected by a sane cap.

Know when Net gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CPANSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Unauthenticated remote peer (AV:N/PR:N/UI:N) trivially triggers unbounded buffering (AC:L) for an availability-only memory-exhaustion DoS (C:N/I:N/A:H), no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Jun 30, 2026 - 14:22 NVD
7.5 (HIGH)
CVE Published
Jun 30, 2026 - 11:04 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

The Net::BitTorrent Perl module (all versions through 2.0.1) is vulnerable to remote memory exhaustion attacks from unauthenticated adversaries who can crash downloading processes through malformed peer-wire protocol messages. No public exploit identified at time of analysis, but the attack method is trivial to execute against any organization using this module for torrent-based distribution. With no vendor patch currently available, immediate mitigation through isolation or module replacement is critical to prevent operational disruption.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Isolate systems running Net::BitTorrent from untrusted torrent swarms via network segmentation and firewall rules; (2) Deploy memory consumption monitoring with automated process restarts at 85% utilization threshold; (3) Restrict peer discovery and connectivity to internal/whitelisted networks only; (4) Evaluate discontinuing Net::BitTorrent and transitioning to alternative, actively maintained file distribution mechanisms if operationally feasible.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Rare
obscure pure-Perl BitTorrent module, tiny CPAN deployment footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Net

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2026-111497 CRITICAL POC
9.2 Oct 21

Remote code execution is possible in Node.js releases that bundle a vulnerable Brotli decoder: a malformed brotli-compre

CVE-2023-38180 HIGH
7.5 Aug 08

.NET and Visual Studio Denial of Service Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely e

CVE-2026-69439 HIGH POC
8.8 Sep 08

Heap-based buffer overflow (CWE-122) in Microsoft .NET and Visual Studio allows a network-based unauthenticated attacker

CVE-2026-71328 HIGH POC
8.8 Sep 08

Heap-based buffer overflow in Microsoft Visual Studio 2022 and 2026 enables network-delivered remote code execution when

CVE-2026-62886 HIGH POC
7.8 Aug 11

Privilege escalation in Microsoft .NET runtimes (8.0, 9.0, and 10.0) and Microsoft Visual Studio 2022 and 2026 results f

CVE-2026-62871 HIGH POC
7.8 Aug 11

Heap-based buffer overflow (CWE-122) in Microsoft .NET enables local code execution across all actively supported .NET r

CVE-2026-70354 HIGH POC
7.8 Aug 11

Local code execution via out-of-bounds write in Microsoft .NET allows an unauthenticated local attacker to achieve full

CVE-2026-62909 HIGH POC
7.8 Aug 11

Local privilege escalation in Microsoft .NET (versions 8.0, 9.0, and 10.0) and Microsoft Visual Studio 2022/2026 allows

CVE-2026-62901 HIGH POC
7.5 Aug 11

Denial-of-service in Microsoft .NET runtimes and Visual Studio allows unauthenticated remote attackers to crash or hang

CVE-2026-62897 HIGH POC
7.0 Aug 11

Integer overflow in Microsoft .NET Framework and modern .NET runtimes enables local code execution with full process com

CVE-2026-62898 HIGH POC
7.5 Aug 11

Use-after-free memory corruption in Microsoft's QUIC protocol implementation (MsQuic) exposes sensitive heap memory to u

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy