CVE-2026-4176
CVE-2026-4176 · 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
CVSS 9.8 · Critical · EPSS 0.8% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- perlUpdate to 5.40.4-RC1 / 5.42.2-RC1 / 5.43.9
- perl Alpine 3.24Update to 5.42.2-r0
- perl Debian 12Update to 5.10.0-21
- perl Debian 13Update to 5.10.0-21
- and 5 more
Check the installed version:
apk list -I -o perldpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="perl"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Stack: system
Affected products and versions
perl
- Versions
- ≥ 5.9.4, < 5.40.4-RC1: Affected (custom)
- ≥ 5.41.0, < 5.42.2-RC1: Affected (custom)
- ≥ 5.43.0, < 5.43.9: Affected (custom)
Update to 5.40.4-RC1; Update to 5.42.2-RC1; Update to 5.43.9
perl Alpine 3.24
- Affected ranges
- ECOSYSTEM: ≥ 5.41.0, < 5.42.2-r0
Update to 5.42.2-r0
perl Debian 12
- Affected ranges
- ECOSYSTEM: < 5.10.0-21
Update to 5.10.0-21
perl Debian 13
- Affected ranges
- ECOSYSTEM: < 5.10.0-21
Update to 5.10.0-21
perl Debian 14
- Affected ranges
- ECOSYSTEM: < 5.10.0-21
Update to 5.10.0-21
perl Ubuntu Pro 14.04 LTS
- Versions
- 5.14.2-21build1
- 5.18.1-4
- 5.18.1-4build1
- 5.18.1-5
- 5.18.2-2
- 5.18.2-2ubuntu1
All versions (18)
- 5.18.2-2ubuntu1.1
- 5.18.2-2ubuntu1.3
- 5.18.2-2ubuntu1.4
- 5.18.2-2ubuntu1.6
- 5.18.2-2ubuntu1.7
- 5.18.2-2ubuntu1.7+esm3
- 5.18.2-2ubuntu1.7+esm4
- 5.18.2-2ubuntu1.7+esm5
- 5.18.2-2ubuntu1.7+esm7
- 5.18.2-2ubuntu1.7+esm8
- 5.18.2-2ubuntu1.7+esm9
- 5.18.2-2ubuntu1.7+esm10
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu Pro 16.04 LTS
- Versions
- 5.20.2-6
- 5.22.1-3
- 5.22.1-4
- 5.22.1-5
- 5.22.1-7
- 5.22.1-8
All versions (17)
- 5.22.1-9
- 5.22.1-9ubuntu0.2
- 5.22.1-9ubuntu0.3
- 5.22.1-9ubuntu0.5
- 5.22.1-9ubuntu0.6
- 5.22.1-9ubuntu0.9
- 5.22.1-9ubuntu0.9+esm1
- 5.22.1-9ubuntu0.9+esm2
- 5.22.1-9ubuntu0.9+esm3
- 5.22.1-9ubuntu0.9+esm4
- 5.22.1-9ubuntu0.9+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu Pro 18.04 LTS
- Versions
- 5.26.0-8ubuntu1
- 5.26.1-2ubuntu1
- 5.26.1-3
- 5.26.1-4
- 5.26.1-4build1
- 5.26.1-5
All versions (17)
- 5.26.1-6
- 5.26.1-6ubuntu0.1
- 5.26.1-6ubuntu0.2
- 5.26.1-6ubuntu0.3
- 5.26.1-6ubuntu0.5
- 5.26.1-6ubuntu0.6
- 5.26.1-6ubuntu0.7
- 5.26.1-6ubuntu0.7+esm2
- 5.26.1-6ubuntu0.7+esm3
- 5.26.1-6ubuntu0.7+esm4
- 5.26.1-6ubuntu0.7+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
perl Ubuntu Pro 20.04 LTS
- Versions
- 5.28.1-6build1
- 5.30.0-7
- 5.30.0-9
- 5.30.0-9build1
- 5.30.0-9ubuntu0.2
- 5.30.0-9ubuntu0.3
All versions (12)
- 5.30.0-9ubuntu0.4
- 5.30.0-9ubuntu0.5
- 5.30.0-9ubuntu0.5+esm2
- 5.30.0-9ubuntu0.5+esm3
- 5.30.0-9ubuntu0.5+esm4
- 5.30.0-9ubuntu0.5+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://www.cve.org/CVERecord?id=CVE-2026-3381
- https://lists.security.metacpan.org/cve-announce/msg/37638919/
- https://github.com/Perl/perl5/commit/c75ae9cc164205e1b6d6dbd57bd2c65c8593fe94
- https://metacpan.org/release/PMQS/Compress-Raw-Zlib-2.221/source/Changes
- https://metacpan.org/release/SHAY/perl-5.40.4/changes
- https://metacpan.org/release/SHAY/perl-5.42.2/changes
- http://www.openwall.com/lists/oss-security/2026/03/30/2
- https://nvd.nist.gov/vuln/detail/CVE-2026-4176