CVE-2026-57080

Source
https://cve.org/CVERecord?id=CVE-2026-57080
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57080.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-57080
Aliases
  • GHSA-7jr6-2jf4-6qc4
Published
2026-06-30T11:04:56.820Z
Modified
2026-07-15T01:49:13.008078319Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Net::BitTorrent versions through 2.0.1 for Perl allow remote memory exhaustion via an uncapped peer-wire message-length prefix
Details

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

Database specific
{
    "cwe_ids": [
        "CWE-400",
        "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57080.json",
    "cna_assigner": "CPANSec"
}
References

Affected packages

Git / github.com/sanko/net-bittorrent.pm

Affected ranges

Type
GIT
Repo
https://github.com/sanko/net-bittorrent.pm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.0.1"
        },
        {
            "fixed": "2.0.1"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION"
    ]
}

Affected versions

v2.*
v2.0.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-57080.json"