Home

Description

IO::Uncompress::Unzip versions before 2.220 for Perl allow CPU exhaustion via per-byte read loop in fastForward. fastForward() compares length $offset (the digit count of the offset, 1 to 19) against the chunk size $c instead of $offset itself, so $c shrinks from 16 KiB to 1-19 bytes per iteration. Extracting a named entry from an attacker supplied zip via IO::Uncompress::Unzip->new($zip, Name => $target) drives a per-byte read loop scaling with the entry's compressed size, up to the non-Zip64 4 GiB cap.

PUBLISHED Reserved 2026-05-26 | Published 2026-05-27 | Updated 2026-05-29 | Assigner CPANSec

Problem types

CWE-407 Inefficient Algorithmic Complexity

Product status

Default status
unaffected

Any version before 2.220
affected

Timeline

2026-05-14:Issue reported.
2026-05-16:Version 2.220 released.

References

www.openwall.com/lists/oss-security/2026/05/27/2

github.com/...68db44076f4c1a86a2ffe53a958eac6cabaf72e2.patch patch

metacpan.org/release/PMQS/IO-Compress-2.220/changes release-notes

cve.org (CVE-2026-48959)

nvd.nist.gov (CVE-2026-48959)

Download JSON