Original description
Perl versions from 5.9.4 before 5.40.4-RC1, from 5.41.0 before 5.42.2-RC1, from 5.43.0 before 5.43.9 contain a vulnerable version of Compress::Raw::Zlib. Compress::Raw::Zlib is included in the Perl package as a dual-life core module, and is vulnerable to CVE-2026-3381 due to a vendored version of zlib which has several vulnerabilities, including CVE-2026-27171. The bundled Compress::Raw::Zlib was updated to version 2.221 in Perl blead commit c75ae9cc164205e1b6d6dbd57bd2c65c8593fe94.
Affected software
- Perl ≥ 5.41.0 < 5.42.2≥ 5.43.0 < 5.43.9≥ 5.9.4 < 5.40.4 Fixed in: 5.42.2, 5.43.9, 5.40.4 exact match
Details
- Published
- 2026-03-30
- Last modified
- 2026-03-31
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-1395
- EPSS (30-day exploit probability)
- 0.76% (percentile 56)
References
- cve.org/CVE-2026-4176
- nvd.nist.gov/vuln/detail/CVE-2026-4176
- www.cve.org/CVERecord?id=CVE-2026-3381
- lists.security.metacpan.org/cve-announce/msg/37638919/
- github.com/Perl/perl5/commit/c75ae9cc164205e1b6d6dbd57bd2c65c8593fe94
- metacpan.org/release/PMQS/Compress-Raw-Zlib-2.221/source/Changes
- metacpan.org/release/SHAY/perl-5.40.4/changes
- metacpan.org/release/SHAY/perl-5.42.2/changes
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.