CVEfocus › CVE database › CVE-2026-4176

CVE-2026-4176Perl versions from 5.9.4 before 5.40.4-RC1, from 5.41.0 before 5.42.2-RC1, from 5.43.0…

CVSS 9.8 CriticalEPSS 0.9% (higher than 59% of CVEs)Published 2026-03-29Updated 2026-03-30Assigner: CPANSec

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.

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

4Fixed
4Fix pending
294Not 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.04perlNot affected
vulnerable_code_not_present
Ubuntu 25.10perlNot affected
vulnerable_code_not_present
Ubuntu 24.04perlNot affected
vulnerable_code_not_present
Ubuntu 22.04perlNot affected
vulnerable_code_not_present
Ubuntu 20.04perlFix pendingUBUNTU-CVE-2026-4176
Ubuntu 18.04perlFix pendingUBUNTU-CVE-2026-4176
Ubuntu 16.04perlFix pendingUBUNTU-CVE-2026-4176
Ubuntu 14.04perlFix pendingUBUNTU-CVE-2026-4176
Debian 14perlFixed5.10.0-21DEBIAN-CVE-2026-4176
Debian 13perlFixed5.10.0-21DEBIAN-CVE-2026-4176
Debian 12perlFixed5.10.0-21DEBIAN-CVE-2026-4176
Red Hat Enterprise Linux 10perlNot affected
Red Hat Enterprise Linux 10perl-Attribute-HandlersNot affected
Red Hat Enterprise Linux 10perl-AutoLoaderNot affected
Red Hat Enterprise Linux 10perl-AutoSplitNot affected
Red Hat Enterprise Linux 10perl-BNot affected
Red Hat Enterprise Linux 10perl-BenchmarkNot affected
Red Hat Enterprise Linux 10perl-Class-StructNot affected
Red Hat Enterprise Linux 10perl-Config-ExtensionsNot affected
Red Hat Enterprise Linux 10perl-DBM_FilterNot affected
Red Hat Enterprise Linux 10perl-Devel-PeekNot affected
Red Hat Enterprise Linux 10perl-Devel-SelfStubberNot affected
Red Hat Enterprise Linux 10perl-DirHandleNot affected
Red Hat Enterprise Linux 10perl-DumpvalueNot affected
Red Hat Enterprise Linux 10perl-DynaLoaderNot affected
Red Hat Enterprise Linux 10perl-EnglishNot affected
Red Hat Enterprise Linux 10perl-ErrnoNot affected
Red Hat Enterprise Linux 10perl-ExtUtils-ConstantNot affected
Red Hat Enterprise Linux 10perl-ExtUtils-EmbedNot affected
Red Hat Enterprise Linux 10perl-ExtUtils-MiniperlNot affected
Red Hat Enterprise Linux 10perl-FcntlNot affected
Red Hat Enterprise Linux 10perl-File-BasenameNot affected
Red Hat Enterprise Linux 10perl-File-CompareNot affected
Red Hat Enterprise Linux 10perl-File-CopyNot affected
Red Hat Enterprise Linux 10perl-File-DosGlobNot affected
Red Hat Enterprise Linux 10perl-File-FindNot affected
Red Hat Enterprise Linux 10perl-File-statNot affected
Red Hat Enterprise Linux 10perl-FileCacheNot affected
Red Hat Enterprise Linux 10perl-FileHandleNot affected
Red Hat Enterprise Linux 10perl-FindBinNot affected
Red Hat Enterprise Linux 10perl-GDBM_FileNot affected
Red Hat Enterprise Linux 10perl-Getopt-StdNot affected
Red Hat Enterprise Linux 10perl-Hash-UtilNot affected
Red Hat Enterprise Linux 10perl-Hash-Util-FieldHashNot affected
Red Hat Enterprise Linux 10perl-I18N-CollateNot affected
Red Hat Enterprise Linux 10perl-I18N-LangTagsNot affected
Red Hat Enterprise Linux 10perl-I18N-LanginfoNot affected
Red Hat Enterprise Linux 10perl-IONot affected
Red Hat Enterprise Linux 10perl-IPC-Open3Not affected
Red Hat Enterprise Linux 10perl-Locale-Maketext-SimpleNot affected
Red Hat Enterprise Linux 10perl-Math-ComplexNot affected
Red Hat Enterprise Linux 10perl-MemoizeNot affected
Red Hat Enterprise Linux 10perl-Module-LoadedNot affected
Red Hat Enterprise Linux 10perl-NDBM_FileNot affected
Red Hat Enterprise Linux 10perl-NEXTNot affected
Red Hat Enterprise Linux 10perl-NetNot affected
Red Hat Enterprise Linux 10perl-ODBM_FileNot affected
Red Hat Enterprise Linux 10perl-OpcodeNot affected
Red Hat Enterprise Linux 10perl-POSIXNot affected
Red Hat Enterprise Linux 10perl-Pod-FunctionsNot affected
Red Hat Enterprise Linux 10perl-Pod-HtmlNot affected
Red Hat Enterprise Linux 10perl-SafeNot affected
Red Hat Enterprise Linux 10perl-Search-DictNot affected
Red Hat Enterprise Linux 10perl-SelectSaverNot affected
Red Hat Enterprise Linux 10perl-SelfLoaderNot affected
Red Hat Enterprise Linux 10perl-SymbolNot affected
Red Hat Enterprise Linux 10perl-Sys-HostnameNot affected
Red Hat Enterprise Linux 10perl-Term-CompleteNot affected
Red Hat Enterprise Linux 10perl-Term-ReadLineNot affected
Red Hat Enterprise Linux 10perl-TestNot affected
Red Hat Enterprise Linux 10perl-Text-AbbrevNot affected
Red Hat Enterprise Linux 10perl-ThreadNot affected
Red Hat Enterprise Linux 10perl-Thread-SemaphoreNot affected
Red Hat Enterprise Linux 10perl-TieNot affected
Red Hat Enterprise Linux 10perl-Tie-FileNot affected
Red Hat Enterprise Linux 10perl-Tie-MemoizeNot affected
Red Hat Enterprise Linux 10perl-TimeNot affected
Red Hat Enterprise Linux 10perl-Time-PieceNot affected
Red Hat Enterprise Linux 10perl-Unicode-UCDNot affected
Red Hat Enterprise Linux 10perl-User-pwentNot affected
Red Hat Enterprise Linux 10perl-autouseNot affected
Red Hat Enterprise Linux 10perl-baseNot affected
Red Hat Enterprise Linux 10perl-blibNot affected
Red Hat Enterprise Linux 10perl-debuggerNot affected
Red Hat Enterprise Linux 10perl-deprecateNot affected
Red Hat Enterprise Linux 10perl-develNot affected
Red Hat Enterprise Linux 10perl-diagnosticsNot affected
Red Hat Enterprise Linux 10perl-docNot affected
Red Hat Enterprise Linux 10perl-encoding-warningsNot affected
Red Hat Enterprise Linux 10perl-fieldsNot affected
Red Hat Enterprise Linux 10perl-filetestNot affected
Red Hat Enterprise Linux 10perl-ifNot affected
Red Hat Enterprise Linux 10perl-interpreterNot affected
Red Hat Enterprise Linux 10perl-lessNot affected
Red Hat Enterprise Linux 10perl-libNot affected
Red Hat Enterprise Linux 10perl-libnetcfgNot affected
Red Hat Enterprise Linux 10perl-libsNot affected
Red Hat Enterprise Linux 10perl-localeNot affected
Red Hat Enterprise Linux 10perl-macrosNot affected
Red Hat Enterprise Linux 10perl-meta-notationNot affected
Red Hat Enterprise Linux 10perl-mroNot affected
Red Hat Enterprise Linux 10perl-openNot affected
Red Hat Enterprise Linux 10perl-overloadNot affected
Red Hat Enterprise Linux 10perl-overloadingNot affected
Red Hat Enterprise Linux 10perl-phNot affected
Red Hat Enterprise Linux 10perl-sigtrapNot affected
Red Hat Enterprise Linux 10perl-sortNot affected
Red Hat Enterprise Linux 10perl-subsNot affected
Red Hat Enterprise Linux 10perl-utilsNot affected
Red Hat Enterprise Linux 10perl-varsNot affected
Red Hat Enterprise Linux 10perl-vmsishNot affected
Red Hat Enterprise Linux 9perlNot affected
Red Hat Enterprise Linux 9perl-Attribute-HandlersNot affected
Red Hat Enterprise Linux 9perl-AutoLoaderNot affected
Red Hat Enterprise Linux 9perl-AutoSplitNot affected
Red Hat Enterprise Linux 9perl-BNot affected
Red Hat Enterprise Linux 9perl-BenchmarkNot affected
Red Hat Enterprise Linux 9perl-Class-StructNot affected
Red Hat Enterprise Linux 9perl-Config-ExtensionsNot affected
Red Hat Enterprise Linux 9perl-DBM_FilterNot affected
Red Hat Enterprise Linux 9perl-Devel-PeekNot affected
Red Hat Enterprise Linux 9perl-Devel-SelfStubberNot affected
Red Hat Enterprise Linux 9perl-DirHandleNot affected
Red Hat Enterprise Linux 9perl-DumpvalueNot affected
Red Hat Enterprise Linux 9perl-DynaLoaderNot affected
Red Hat Enterprise Linux 9perl-EnglishNot affected
Red Hat Enterprise Linux 9perl-ErrnoNot affected
Red Hat Enterprise Linux 9perl-ExtUtils-ConstantNot affected
Red Hat Enterprise Linux 9perl-ExtUtils-EmbedNot affected
Red Hat Enterprise Linux 9perl-ExtUtils-MiniperlNot affected
Red Hat Enterprise Linux 9perl-FcntlNot affected
Red Hat Enterprise Linux 9perl-File-BasenameNot affected
Red Hat Enterprise Linux 9perl-File-CompareNot affected
Red Hat Enterprise Linux 9perl-File-CopyNot affected
Red Hat Enterprise Linux 9perl-File-DosGlobNot affected
Red Hat Enterprise Linux 9perl-File-FindNot affected
Red Hat Enterprise Linux 9perl-File-statNot affected
Red Hat Enterprise Linux 9perl-FileCacheNot affected
Red Hat Enterprise Linux 9perl-FileHandleNot affected
Red Hat Enterprise Linux 9perl-FindBinNot affected
Red Hat Enterprise Linux 9perl-GDBM_FileNot affected
Red Hat Enterprise Linux 9perl-Getopt-StdNot affected
Red Hat Enterprise Linux 9perl-Hash-UtilNot affected
Red Hat Enterprise Linux 9perl-Hash-Util-FieldHashNot affected
Red Hat Enterprise Linux 9perl-I18N-CollateNot affected
Red Hat Enterprise Linux 9perl-I18N-LangTagsNot affected
Red Hat Enterprise Linux 9perl-I18N-LanginfoNot affected
Red Hat Enterprise Linux 9perl-IONot affected
Red Hat Enterprise Linux 9perl-IPC-Open3Not affected
Red Hat Enterprise Linux 9perl-Locale-Maketext-SimpleNot affected
Red Hat Enterprise Linux 9perl-Math-ComplexNot affected
Red Hat Enterprise Linux 9perl-MemoizeNot affected
Red Hat Enterprise Linux 9perl-Module-LoadedNot affected
Red Hat Enterprise Linux 9perl-NDBM_FileNot affected
Red Hat Enterprise Linux 9perl-NEXTNot affected
Red Hat Enterprise Linux 9perl-NetNot affected
Red Hat Enterprise Linux 9perl-ODBM_FileNot affected
Red Hat Enterprise Linux 9perl-OpcodeNot affected
Red Hat Enterprise Linux 9perl-POSIXNot affected
Red Hat Enterprise Linux 9perl-Pod-FunctionsNot affected
Red Hat Enterprise Linux 9perl-Pod-HtmlNot affected
Red Hat Enterprise Linux 9perl-SafeNot affected
Red Hat Enterprise Linux 9perl-Search-DictNot affected
Red Hat Enterprise Linux 9perl-SelectSaverNot affected
Red Hat Enterprise Linux 9perl-SelfLoaderNot affected
Red Hat Enterprise Linux 9perl-SymbolNot affected
Red Hat Enterprise Linux 9perl-Sys-HostnameNot affected
Red Hat Enterprise Linux 9perl-Term-CompleteNot affected
Red Hat Enterprise Linux 9perl-Term-ReadLineNot affected
Red Hat Enterprise Linux 9perl-TestNot affected
Red Hat Enterprise Linux 9perl-Text-AbbrevNot affected
Red Hat Enterprise Linux 9perl-ThreadNot affected
Red Hat Enterprise Linux 9perl-Thread-SemaphoreNot affected
Red Hat Enterprise Linux 9perl-TieNot affected
Red Hat Enterprise Linux 9perl-Tie-FileNot affected
Red Hat Enterprise Linux 9perl-Tie-MemoizeNot affected
Red Hat Enterprise Linux 9perl-TimeNot affected
Red Hat Enterprise Linux 9perl-Time-PieceNot affected
Red Hat Enterprise Linux 9perl-Unicode-UCDNot affected
Red Hat Enterprise Linux 9perl-User-pwentNot affected
Red Hat Enterprise Linux 9perl-autouseNot affected
Red Hat Enterprise Linux 9perl-baseNot affected
Red Hat Enterprise Linux 9perl-blibNot affected
Red Hat Enterprise Linux 9perl-debuggerNot affected
Red Hat Enterprise Linux 9perl-deprecateNot affected
Red Hat Enterprise Linux 9perl-develNot affected
Red Hat Enterprise Linux 9perl-diagnosticsNot affected
Red Hat Enterprise Linux 9perl-docNot affected
Red Hat Enterprise Linux 9perl-encoding-warningsNot affected
Red Hat Enterprise Linux 9perl-fieldsNot affected
Red Hat Enterprise Linux 9perl-filetestNot affected
Red Hat Enterprise Linux 9perl-ifNot affected
Red Hat Enterprise Linux 9perl-interpreterNot affected
Red Hat Enterprise Linux 9perl-lessNot affected
Red Hat Enterprise Linux 9perl-libNot affected
Red Hat Enterprise Linux 9perl-libnetcfgNot affected
Red Hat Enterprise Linux 9perl-libsNot affected
Red Hat Enterprise Linux 9perl-localeNot affected
Red Hat Enterprise Linux 9perl-macrosNot affected
Red Hat Enterprise Linux 9perl-meta-notationNot affected
Red Hat Enterprise Linux 9perl-mroNot affected
Red Hat Enterprise Linux 9perl-openNot affected
Red Hat Enterprise Linux 9perl-overloadNot affected
Red Hat Enterprise Linux 9perl-overloadingNot affected
Red Hat Enterprise Linux 9perl-phNot affected
Red Hat Enterprise Linux 9perl-sigtrapNot affected
Red Hat Enterprise Linux 9perl-sortNot affected
Red Hat Enterprise Linux 9perl-subsNot affected
Red Hat Enterprise Linux 9perl-utilsNot affected
Red Hat Enterprise Linux 9perl-varsNot affected
Red Hat Enterprise Linux 9perl-vmsishNot affected
Red Hat Enterprise Linux 8perlNot affected
Red Hat Enterprise Linux 8perl-Attribute-HandlersNot affected
Red Hat Enterprise Linux 8perl-Devel-PeekNot affected
Red Hat Enterprise Linux 8perl-Devel-SelfStubberNot affected
Red Hat Enterprise Linux 8perl-ErrnoNot affected
Red Hat Enterprise Linux 8perl-ExtUtils-EmbedNot affected
Red Hat Enterprise Linux 8perl-ExtUtils-MiniperlNot affected
Red Hat Enterprise Linux 8perl-IONot affected
Red Hat Enterprise Linux 8perl-IO-ZlibNot affected
Red Hat Enterprise Linux 8perl-Locale-Maketext-SimpleNot affected
Red Hat Enterprise Linux 8perl-Math-ComplexNot affected
Red Hat Enterprise Linux 8perl-MemoizeNot affected
Red Hat Enterprise Linux 8perl-Module-LoadedNot affected
Red Hat Enterprise Linux 8perl-Net-PingNot affected
Red Hat Enterprise Linux 8perl-Pod-HtmlNot affected
Red Hat Enterprise Linux 8perl-SelfLoaderNot affected
Red Hat Enterprise Linux 8perl-TestNot affected
Red Hat Enterprise Linux 8perl-Time-PieceNot affected
Red Hat Enterprise Linux 8perl-develNot affected
Red Hat Enterprise Linux 8perl-interpreterNot affected
Red Hat Enterprise Linux 8perl-libnetcfgNot affected
Red Hat Enterprise Linux 8perl-libsNot affected
Red Hat Enterprise Linux 8perl-macrosNot affected
Red Hat Enterprise Linux 8perl-openNot affected
Red Hat Enterprise Linux 8perl-testsNot affected
Red Hat Enterprise Linux 8perl-utilsNot affected
Red Hat Enterprise Linux 7perlNot affected
Red Hat Enterprise Linux 7perl-CPANNot affected
Red Hat Enterprise Linux 7perl-ExtUtils-CBuilderNot affected
Red Hat Enterprise Linux 7perl-ExtUtils-EmbedNot affected
Red Hat Enterprise Linux 7perl-ExtUtils-InstallNot affected
Red Hat Enterprise Linux 7perl-IO-ZlibNot affected
Red Hat Enterprise Linux 7perl-Locale-Maketext-SimpleNot affected
Red Hat Enterprise Linux 7perl-Module-CoreListNot affected
Red Hat Enterprise Linux 7perl-Module-LoadedNot affected
Red Hat Enterprise Linux 7perl-Object-AccessorNot affected
Red Hat Enterprise Linux 7perl-Package-ConstantsNot affected
Red Hat Enterprise Linux 7perl-Pod-EscapesNot affected
Red Hat Enterprise Linux 7perl-Time-PieceNot affected
Red Hat Enterprise Linux 7perl-coreNot affected
Red Hat Enterprise Linux 7perl-develNot affected
Red Hat Enterprise Linux 7perl-libsNot affected
Red Hat Enterprise Linux 7perl-macrosNot affected
Red Hat Enterprise Linux 7perl-testsNot affected
Red Hat Enterprise Linux 6perlNot affected
Red Hat Enterprise Linux 6perl-Archive-ExtractNot affected
Red Hat Enterprise Linux 6perl-Archive-TarNot affected
Red Hat Enterprise Linux 6perl-CGINot affected
Red Hat Enterprise Linux 6perl-CPANNot affected
Red Hat Enterprise Linux 6perl-CPANPLUSNot affected
Red Hat Enterprise Linux 6perl-Compress-Raw-Bzip2Not affected
Red Hat Enterprise Linux 6perl-Compress-Raw-ZlibNot affected
Red Hat Enterprise Linux 6perl-Compress-ZlibNot affected
Red Hat Enterprise Linux 6perl-Digest-SHANot affected
Red Hat Enterprise Linux 6perl-ExtUtils-CBuilderNot affected
Red Hat Enterprise Linux 6perl-ExtUtils-EmbedNot affected
Red Hat Enterprise Linux 6perl-ExtUtils-MakeMakerNot affected
Red Hat Enterprise Linux 6perl-ExtUtils-ParseXSNot affected
Red Hat Enterprise Linux 6perl-File-FetchNot affected
Red Hat Enterprise Linux 6perl-IO-Compress-BaseNot affected
Red Hat Enterprise Linux 6perl-IO-Compress-Bzip2Not affected
Red Hat Enterprise Linux 6perl-IO-Compress-ZlibNot affected
Red Hat Enterprise Linux 6perl-IO-ZlibNot affected
Red Hat Enterprise Linux 6perl-IPC-CmdNot affected
Red Hat Enterprise Linux 6perl-Locale-Maketext-SimpleNot affected
Red Hat Enterprise Linux 6perl-Log-MessageNot affected
Red Hat Enterprise Linux 6perl-Log-Message-SimpleNot affected
Red Hat Enterprise Linux 6perl-Module-BuildNot affected
Red Hat Enterprise Linux 6perl-Module-CoreListNot affected
Red Hat Enterprise Linux 6perl-Module-LoadNot affected
Red Hat Enterprise Linux 6perl-Module-Load-ConditionalNot affected
Red Hat Enterprise Linux 6perl-Module-LoadedNot affected
Red Hat Enterprise Linux 6perl-Module-PluggableNot affected
Red Hat Enterprise Linux 6perl-Object-AccessorNot affected
Red Hat Enterprise Linux 6perl-Package-ConstantsNot affected
Red Hat Enterprise Linux 6perl-Params-CheckNot affected
Red Hat Enterprise Linux 6perl-Parse-CPAN-MetaNot affected
Red Hat Enterprise Linux 6perl-Pod-EscapesNot affected
Red Hat Enterprise Linux 6perl-Pod-SimpleNot affected
Red Hat Enterprise Linux 6perl-Term-UINot affected
Red Hat Enterprise Linux 6perl-Test-HarnessNot affected
Red Hat Enterprise Linux 6perl-Test-SimpleNot affected
Red Hat Enterprise Linux 6perl-Time-HiResNot affected
Red Hat Enterprise Linux 6perl-Time-PieceNot affected
Red Hat Enterprise Linux 6perl-coreNot affected
Red Hat Enterprise Linux 6perl-develNot affected
Red Hat Enterprise Linux 6perl-libsNot affected
Red Hat Enterprise Linux 6perl-parentNot affected
Red Hat Enterprise Linux 6perl-suidperlNot affected
Red Hat Enterprise Linux 6perl-versionNot affected
Alpine Linux 3.24perlFixed5.42.2-r0ALPINE-CVE-2026-4176

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: Update to Perl stable release 5.40.4 or 5.42.2 or later, which include Compress::Raw::Zlib 2.222.

Workaround: Install Compress::Raw::Zlib 2.220 or later into your @INC include path, so it takes precedence over the vulnerable core module shipped with Perl. Some OS distributions patch their perl package to build Compress::Raw::Zlib against the system zlib rather than the vendored copy. Users of these distributions may not be affected if their system zlib has been updated to 1.3.2 or later, or includes backported patches for the relevant vulnerabilities.

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.