CVEfocus › CVE database › CVE-2026-3381

CVE-2026-3381Compress::Raw::Zlib versions through 2.219 for Perl use potentially insecure versions of…

CVSS 9.8 CriticalEPSS 0.9% (higher than 57% of CVEs)Published 2026-03-05Updated 2026-03-11Assigner: CPANSec

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.

CWE-1395

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
3Fix pending
12Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libcompress-raw-zlib-perlNot affected
vulnerable_code_not_present
Ubuntu 26.04perlNot affected
vulnerable_code_not_present
Ubuntu 25.10libcompress-raw-zlib-perlNot affected
vulnerable_code_not_present
Ubuntu 25.10perlNot affected
vulnerable_code_not_present
Ubuntu 24.04libcompress-raw-zlib-perlNot affected
vulnerable_code_not_present
Ubuntu 24.04perlNot affected
vulnerable_code_not_present
Ubuntu 22.04libcompress-raw-zlib-perlNot affected
vulnerable_code_not_present
Ubuntu 22.04perlNot affected
vulnerable_code_not_present
Ubuntu 20.04libcompress-raw-zlib-perlFix pendingUBUNTU-CVE-2026-3381
Ubuntu 18.04libcompress-raw-zlib-perlFix pendingUBUNTU-CVE-2026-3381
Ubuntu 16.04libcompress-raw-zlib-perlFix pendingUBUNTU-CVE-2026-3381
Debian 14libcompress-raw-zlib-perlFixed2.011-2DEBIAN-CVE-2026-3381
Debian 13libcompress-raw-zlib-perlFixed2.011-2DEBIAN-CVE-2026-3381
Debian 12libcompress-raw-zlib-perlFixed2.011-2DEBIAN-CVE-2026-3381
Red Hat Enterprise Linux 10perl-Compress-Raw-ZlibNot affected
Red Hat Enterprise Linux 9perl-Compress-Raw-ZlibNot affected
Red Hat Enterprise Linux 8perl-Compress-Raw-ZlibNot affected
Red Hat Enterprise Linux 7perl-Compress-Raw-ZlibNot affected
Alpine Linux 3.24perl-compress-raw-zlibFixed2.222-r0ALPINE-CVE-2026-3381
Alpine Linux 3.23perl-compress-raw-zlibFixed2.222-r0ALPINE-CVE-2026-3381
Alpine Linux 3.22perl-compress-raw-zlibFixed2.222-r0ALPINE-CVE-2026-3381
Alpine Linux 3.21perl-compress-raw-zlibFixed2.222-r0ALPINE-CVE-2026-3381
Alpine Linux 3.20perl-compress-raw-zlibFixed2.222-r0ALPINE-CVE-2026-3381

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.