CVE-2026-3381

Compress::Raw::Zlib versions through 2.219 for Perl use potentially insecure versions of zlib

Published Mar 5, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Compress::Raw::Zlib versions through 2.219 for Perl use potentially insecure versions of zlib.

Compress::Raw::Zlib includes a copy of the zlib library. Compress::Raw::Zlib version 2.220 includes zlib 1.3.2, which addresses findings fron the 7ASecurity audit of zlib. The includes fixs for CVE-2026-27171.

Analysis

AI-generated

Technical impact

Compress::Raw::Zlib versions up to 2.219 bundle an old zlib library that contains multiple critical flaws uncovered in a recent security audit. The weaknesses are tied to improper handling of compressed data, allowing an attacker to craft malicious input that could trigger memory corruption, elevate privileges, or cause a crash. The associated weaknesses match CWE-1104 (Untrusted Input Processing), CWE-1284 (Incorrect Cryptographic Storage), and CWE-1395 (Improper Data Validation).

Affected Systems

The vulnerability affects the PMQS Compress::Raw::Zlib Perl module for any application that imports it. All releases through 2.219 are impacted; version 2.220 incorporates zlib 1.3.2, which addresses the documented issues and includes the fix for CVE-2026-27171.

Risk and Exploitability

The CVSS score of 9.8 indicates a high severity risk. The EPSS score is below 1 %, signifying a low but non‑zero likelihood that exploit code exist in the wild; the vulnerability is not listed in the CISA KEV catalog. The exposure is primarily through the module’s decompression routine—an attacker could supply malformed or specially crafted compressed data to trigger the underlying zlib bugs. Based on the description, the attack vector is inferred to be the handling of user‑supplied compressed streams in Perl applications that use this module.

Remediation

Vendor Solution

Upgrade to Compress::Raw::Zlib 2.220 or later.


OpenCVE Recommended Actions

  • Upgrade Compress::Raw::Zlib to version 2.220 or later, which includes zlib 1.3.2 and the 7ASecurity audit fixes.
  • Re‑evaluate all Perl code that uses Compress::Raw::Zlib to ensure it only processes data from trusted sources, and implement input validation or integrity checks on compressed payloads.
  • Remain monitoring the vendor’s release channel for additional patches or advisories, and review the security audit reports for guidance on hardening usage patterns.

Generated by OpenCVE AI on April 16, 2026 at 05:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Pmqs compress\
Weaknesses CWE-1284
CPEs cpe:2.3:a:pmqs:compress\:\:raw\:\:zlib:*:*:*:*:*:perl:*:*
Vendors & Products Pmqs compress\
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Pmqs
Pmqs compress::raw::zlib
Vendors & Products Pmqs
Pmqs compress::raw::zlib
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-1104
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

threat_severity

Important

Type Values Removed Values Added
Description Compress::Raw::Zlib versions through 2.219 for Perl use potentially insecure versions of zlib. Compress::Raw::Zlib includes a copy of the zlib library. Compress::Raw::Zlib version 2.220 includes zlib 1.3.2, which addresses findings fron the 7ASecurity audit of zlib. The includes fixs for CVE-2026-27171.
Title Compress::Raw::Zlib versions through 2.219 for Perl use potentially insecure versions of zlib
Weaknesses CWE-1395
References
Weaknesses
  • CWE-1104

    Use of Unmaintained Third Party Components

  • CWE-1284

    Improper Validation of Specified Quantity in Input

  • CWE-1395

    Dependency on Vulnerable Third-Party Component

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Mar 11, 2026, 3:00 PM
Reserved
Feb 28, 2026, 9:24 AM
Status
Analyzed
Published
Mar 5, 2026, 2:16 AM
Modified
Jun 17, 2026, 10:43 AM
Severity
Important
Public date
Mar 5, 2026, 1:28 AM