CVE Explorer
CVE-2026-57081
Net::BitTorrent versions through 2.1.0 for Perl allow remote memory exhaustion via deeply nested bencoded input.
bdecode recurses once per nested list or dictionary level with no depth cap, and each recursive call receives the remaining buffer by value while the list and dictionary branches capture the whole remainder, so every live recursion frame keeps its own copy of the shrinking buffer (O(N^2) bytes for an N-deep input). The decoder runs on every untrusted bencode source: .torrent files, B
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fbdc9895d169b78202bdea0f81bde19acd2433d6c00adc5de4fccc57f1433e75 · sha256:334415a52ae2aed2… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-674","description":"CWE-674 Uncontrolled Recursion","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fbdc9895d169b78202bdea0f81bde19acd2433d6c00adc5de4fccc57f1433e75 · sha256:334415a52ae2aed2… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Net-BitTorrent","product":"Net::BitTorrent","programFiles":["lib/Net/BitTorrent/Protocol/BEP03/Bencode.pm"],"programRoutines":[{"name":"Net::BitTorrent::Protocol::BEP03::Bencode::bdecode"}],"repo":"https://github.com/sanko/Net-BitTorrent.pm","vendor":"SANKO","versions":[{"lessThanOrEqual":"2.1.0","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:fbdc9895d169b78202bdea0f81bde19acd2433d6c00adc5de4fccc57f1433e75 · sha256:334415a52ae2aed2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:fbdc9895d169b78202bdea0f81bde19acd2433d6c00adc5de4fccc57f1433e75 · sha256:334415a52ae2aed2… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-400","description":"CWE-400 Uncontrolled Resource Consumption","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fbdc9895d169b78202bdea0f81bde19acd2433d6c00adc5de4fccc57f1433e75 · sha256:334415a52ae2aed2… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-674","description":"CWE-674 Uncontrolled Recursion","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:fbdc9895d169b78202bdea0f81bde19acd2433d6c00adc5de4fccc57f1433e75 · sha256:334415a52ae2aed2… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["vendor-advisory"],"url":"https://github.com/sanko/Net-BitTorrent.pm/security/advisories/GHSA-mv44-v82p-89xv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fbdc9895d169b78202bdea0f81bde19acd2433d6c00adc5de4fccc57f1433e75 · sha256:334415a52ae2aed2… · /containers/cna/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/SANKO/Net-BitTorrent-v2.1.0/changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:fbdc9895d169b78202bdea0f81bde19acd2433d6c00adc5de4fccc57f1433e75 · sha256:334415a52ae2aed2… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.