Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 80%

CVE-2026-57080: CWE-770 Allocation of Resources Without Limits or Throttling in SANKO Net::BitTorrent

0
High
VulnerabilityCVE-2026-57080cvecve-2026-57080cwe-770cwe-400
Published: 06/30/2026 (06/30/2026, 11:04:56 UTC)
Source: CVE Database V5
Vendor/Project: SANKO
Product: Net::BitTorrent

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 v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

GitHub Actionsmore threats →cve
Net-BitTorrent
pkg:github/Net-BitTorrent
Affected versions
<=2.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/20/2026, 18:07:56 UTC

Technical Analysis

CVE-2026-57080 is a resource exhaustion vulnerability in SANKO's Net::BitTorrent Perl module versions up to 2.0.1. The vulnerability arises because the peer-wire protocol implementation trusts the 4-byte length prefix sent by connected peers without enforcing an upper bound. The receive_data function appends all incoming bytes to the input buffer, and the decoder waits until the full message is received before processing. A malicious peer can announce a length prefix up to approximately 4 GiB and stream bytes accordingly, causing the buffer to grow without limit and exhausting memory. Since peer connections are unauthenticated, any peer in the swarm can exploit this to cause denial of service. Legitimate messages are much smaller (largest is 16 KiB), so large length prefixes are anomalous.

Potential Impact

An attacker can remotely cause a denial of service by exhausting the memory of the process running Net::BitTorrent. This does not affect confidentiality or integrity but results in high impact on availability due to uncontrolled memory growth.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider restricting or validating peer message lengths at the application or network level to prevent processing of anomalously large messages.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-06-23T18:20:33.514Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a43addd27e9c79719af497b

Added to database: 06/30/2026, 11:51:57 UTC

Last enriched: 07/20/2026, 18:07:56 UTC

Last updated: 08/14/2026, 00:41:13 UTC

Views: 76

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses