CVE-2026-48959: CWE-407 Inefficient Algorithmic Complexity in PMQS IO::Uncompress::Unzip
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.
AI Analysis
Technical Summary
The vulnerability in IO::Uncompress::Unzip (prior to version 2.220) arises from the fastForward() function's logic error where it compares the length of the offset's digit count instead of the offset value itself against the chunk size. This causes the chunk size to reduce from 16 KiB to between 1 and 19 bytes per iteration, leading to a per-byte read loop when extracting a targeted zip entry. An attacker supplying a malicious zip file can exploit this to cause CPU exhaustion during decompression, resulting in a denial of service condition. The issue is classified under CWE-407 (Inefficient Algorithmic Complexity).
Potential Impact
The vulnerability allows an unauthenticated attacker to cause high CPU usage on systems using vulnerable versions of IO::Uncompress::Unzip by supplying a specially crafted zip file. This leads to denial of service due to CPU exhaustion during decompression. There is no impact on confidentiality or integrity reported. The CVSS v3.1 base score is 7.5 (High), reflecting network attack vector, low complexity, no privileges required, no user interaction, and impact limited to availability.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are provided in the available data. Users should monitor the vendor or CPAN security advisories for updates and apply any official patches once released. Until then, avoid processing untrusted zip files with vulnerable versions of IO::Uncompress::Unzip or implement external controls to limit resource consumption during decompression.
CVE-2026-48959: CWE-407 Inefficient Algorithmic Complexity in PMQS IO::Uncompress::Unzip
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.
CVSS v3.1
Score 7.5high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in IO::Uncompress::Unzip (prior to version 2.220) arises from the fastForward() function's logic error where it compares the length of the offset's digit count instead of the offset value itself against the chunk size. This causes the chunk size to reduce from 16 KiB to between 1 and 19 bytes per iteration, leading to a per-byte read loop when extracting a targeted zip entry. An attacker supplying a malicious zip file can exploit this to cause CPU exhaustion during decompression, resulting in a denial of service condition. The issue is classified under CWE-407 (Inefficient Algorithmic Complexity).
Potential Impact
The vulnerability allows an unauthenticated attacker to cause high CPU usage on systems using vulnerable versions of IO::Uncompress::Unzip by supplying a specially crafted zip file. This leads to denial of service due to CPU exhaustion during decompression. There is no impact on confidentiality or integrity reported. The CVSS v3.1 base score is 7.5 (High), reflecting network attack vector, low complexity, no privileges required, no user interaction, and impact limited to availability.
Mitigation Recommendations
Patch status is not yet confirmed — no official fix or patch links are provided in the available data. Users should monitor the vendor or CPAN security advisories for updates and apply any official patches once released. Until then, avoid processing untrusted zip files with vulnerable versions of IO::Uncompress::Unzip or implement external controls to limit resource consumption during decompression.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-05-26T18:09:32.365Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a16660ce29bf47b50903585
Added to database: 05/27/2026, 03:33:32 UTC
Last enriched: 06/03/2026, 20:42:39 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 91
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.