PT-2026-53856 · Cpan · Net::Bittorrent

·

CVE-2026-57081

·

Published

2026-06-30

·

Updated

2026-07-20

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Net::BitTorrent versions prior to 2.0.2
Description Remote memory exhaustion is possible through the processing of deeply nested bencoded input. The bdecode() function recurses for each nested list or dictionary level without a depth limit. During this process, each recursive call receives the remaining buffer by value, causing every active recursion frame to maintain its own copy of the shrinking buffer, resulting in O(N^2) memory consumption. This issue affects the processing of .torrent files, BEP09 metadata from peers, DHT messages, and tracker responses. For example, a bencoded input containing approximately 150,000 nested lists (roughly 150 KB) can trigger multi-gigabyte peak memory usage, leading to client termination.
Recommendations Update Net::BitTorrent to version 2.0.2 or later.

Exploit

Fix

DoS

Resource Exhaustion

Uncontrolled Recursion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-57081
GHSA-MV44-V82P-89XV

Affected Products

Net::Bittorrent