Undefined Behavior for Input to API 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.26% (18th 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-RHEL7-PERLIOCOMPRESS-17366389
  • published17 Jun 2026
  • disclosed27 May 2026

Introduced: 27 May 2026

CVE-2026-48961  (opens in a new tab)
CWE-475  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 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:7 relevant fixed versions and status.

IO::Compress versions from 2.207 before 2.220 for Perl ship a zipdetails CLI tool that crashes with undefined subroutine on Info-ZIP Unix Extra Field with 8-byte UID or GID.

When decode_ux() in bin/zipdetails handles an Info-ZIP Unix Extra Field (tag 0x7875) with UID Size or GID Size set to 8, causing zipdetails to decode an 8-byte UID or GID value, it dispatches through decodeLitteEndian(), which calls a misnamed helper unpackValueQ. The actual function defined in the same file is unpackValue_Q (with underscore); the call raises 'Undefined subroutine &main::unpackValueQ' and the script exits with status 255.

Library callers of IO::Compress and IO::Uncompress are not affected; the defect is in the bundled CLI tool.

CVSS Base Scores

version 3.1