Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilitywidely-deployed-product-advisory

Perl Bundled Compress::Raw::Zlib Flaw Exposes Multiple Release Lines

Vulnerability Disclosure · 3 sources · Updated 5mo ago · First seen Mar 30, 2026

Perl Bundled Compress::Raw::Zlib Flaw Exposes Multiple Release Lines

Perl disclosed CVE-2026-4176, a vulnerability affecting releases from 5.9.4 before 5.40.4-RC1, from 5.41.0 before 5.42.2-RC1, and from 5.43.0 before 5.43.9, because they shipped a vulnerable bundled version of the dual-life core module Compress::Raw::Zlib. The issue traces to the module’s vendored zlib copy, which is vulnerable to CVE-2026-3381 and includes additional flaws such as CVE-2026-27171. Some operating system distributions may avoid exposure if they link Perl against a patched system zlib version 1.3.2 or later, or if they have backported fixes.

The Perl project updated the bundled module in blead to version 2.221 and shipped fixes in Perl 5.40.4 and Perl 5.42.2, which include Compress::Raw::Zlib 2.222. Follow-up discussion on the oss-sec mailing list clarified that remediation guidance should explicitly state that affected installations can also be fixed by installing Compress::Raw::Zlib 2.222 from CPAN so it overrides the vulnerable core module in @INC; earlier guidance had noted 2.220 or later as a workaround.

Why it matters

Impact assessment

Perl deployments that rely on bundled Compress::Raw::Zlib across multiple release lines are affected, especially application servers, automation platforms, packaging pipelines, and legacy Unix/Linux environments that embed Perl. The impact is potentially severe because the CVE record assigns network-reachable, no-authentication, no-user-interaction conditions with high confidentiality, integrity, and availability impact.

Exposure is broad across Perl versions rather than limited to a single branch, but actual risk depends on how each installation resolves zlib: systems linked to patched system zlib 1.3.2 or later, or distributions with backported fixes, may not be vulnerable. The story does not report confirmed exploitation in the wild.

Supporting facts

  • Affected product: Perl with bundled Compress::Raw::Zlib dual-life core module.
  • Affected versions:
    • 5.9.4 before 5.40.4-RC1
    • 5.41.0 before 5.42.2-RC1
    • 5.43.0 before 5.43.9
  • Root issue: Perl shipped a vulnerable bundled Compress::Raw::Zlib containing a vendored zlib copy.
  • Severity signal: CVE-2026-4176 has CVSS v3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
  • Scope qualifier: some OS distributions may avoid exposure if Perl links against patched system zlib 1.3.2+ or carries backported fixes.
  • Known incidents: no exploitation activity or victim reports were cited.
  • Relevant entities:
    • Perl project
    • CPAN Security Group
    • Compress::Raw::Zlib
    • zlib
    • Stig Palmquist
    • Jacob Bachmeyer
    • Bernhard Schmalhofer
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

5 events · Feb 27, 2026 – Mar 30, 2026
  1. Mar 30, 20268mo ago

    CVE-2026-4176 record updated with CVSS score and Openwall reference

    On 2026-03-30, the CVE record for CVE-2026-4176 was updated to include a CVSS v3.1 vector of AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H and an Openwall oss-security reference. This expanded the public vulnerability metadata beyond the initial disclosure and remediation details.

    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
  2. Mar 29, 20268mo ago

    oss-sec follow-up clarifies CPAN remediation path

    A follow-up oss-sec discussion noted that any affected Perl version can be remediated by installing Compress::Raw::Zlib 2.222 from CPAN so it overrides the vulnerable core module. The reply also reiterated that Perl 5.40.4 and 5.42.2 or later include the fixed module.

  3. Feb 27, 20269mo ago

    CVE-2026-4176 disclosure identifies affected Perl version ranges

    An oss-sec disclosure reported that Perl versions from 5.9.4 before 5.40.4-RC1, from 5.41.0 before 5.42.2-RC1, and from 5.43.0 before 5.43.9 were affected because they shipped a vulnerable bundled Compress::Raw::Zlib.

  4. Feb 27, 20269mo ago

    Perl 5.40.4 and 5.42.2 ship fix with Compress::Raw::Zlib 2.222

    Perl released stable versions 5.40.4 and 5.42.2 including Compress::Raw::Zlib 2.222 as the fix for CVE-2026-4176. The issue affected Perl release lines that bundled vulnerable Compress::Raw::Zlib versions.

  5. Feb 27, 20269mo ago

    Perl blead updates bundled Compress::Raw::Zlib to 2.221

    The Perl project updated the bundled dual-life core module Compress::Raw::Zlib in blead to version 2.221 to address the vulnerable vendored zlib copy implicated in CVE-2026-4176.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.