Loop with Unreachable Exit Condition ('Infinite Loop') Affecting perl-IO-Compress package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.55% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-PERLIOCOMPRESS-17363184
  • published17 Jun 2026
  • disclosed27 May 2026

Introduced: 27 May 2026

CVE-2026-48959  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 perl-IO-Compress.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-IO-Compress package and not the perl-IO-Compress package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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 Base Scores

version 3.1