Vulnerability · Published Mar 5, 2026 · Assigned by CPANSec
CVE-2026-3381Compress::Raw::Zlib versions through 2.219 for Perl use potentially insecure versions of zlib
Critical 9.8
In plain English
A critical-severity security flaw in Compress::Raw::Zlib from PMQS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | perl-compress-raw-zlib | 2.222-r0 | ALPINE-CVE-2026-3381 |
| Alpine:v3.21 | perl-compress-raw-zlib | 2.222-r0 | ALPINE-CVE-2026-3381 |
| Alpine:v3.22 | perl-compress-raw-zlib | 2.222-r0 | ALPINE-CVE-2026-3381 |
| Alpine:v3.23 | perl-compress-raw-zlib | 2.222-r0 | ALPINE-CVE-2026-3381 |
| Alpine:v3.24 | perl-compress-raw-zlib | 2.222-r0 | ALPINE-CVE-2026-3381 |
| Debian:12 | libcompress-raw-zlib-perl | 2.011-2 | DEBIAN-CVE-2026-3381 |
| Debian:13 | libcompress-raw-zlib-perl | 2.011-2 | DEBIAN-CVE-2026-3381 |
| Debian:14 | libcompress-raw-zlib-perl | 2.011-2 | DEBIAN-CVE-2026-3381 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| PMQS | Compress::Raw::Zlib | 0 – through 2.219 |
Weakness: CWE-1395 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://metacpan.org/release/PMQS/Compress-Raw-Zlib-2.221/source/Changes release-notes
- https://www.zlib.net/
- https://github.com/madler/zlib
- https://github.com/madler/zlib/releases/tag/v1.3.2 release-notes
- https://7asecurity.com/blog/2026/02/zlib-7asecurity-audit/ technical-description
- https://www.cve.org/CVERecord?id=CVE-2026-27171 vendor-advisory, related, vdb-entry
- https://github.com/pmqs/Compress-Raw-Zlib/issues/41 issue-tracking