# CVE-2026-3381: Compress::Raw::Zlib versions through 2.219 for Perl use potentially insecure versions of zlib


- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 5 Mar 2026
- **Updated:** 11 Mar 2026
- **Also known as:** ALPINE-CVE-2026-3381, AZL-79239, AZL-79242, AZL-79245, AZL-79248, AZL-79251, AZL-79254, AZL-79257, AZL-79260, AZL-79262, AZL-79265, AZL-79268, AZL-79271, AZL-79274, AZL-79277, AZL-79280, AZL-79283, AZL-79286, AZL-79290, AZL-79293, AZL-79296, AZL-79299, AZL-79302, AZL-79304, AZL-79308, AZL-79310, AZL-79316, AZL-79326, AZL-79328, AZL-79331, AZL-79334, AZL-79337, AZL-79346, AZL-79350, AZL-79358, AZL-79362, AZL-79368, AZL-79371, AZL-79373, AZL-79377, AZL-79380, AZL-79389, AZL-79391, AZL-79395, AZL-79407, AZL-79410, AZL-79415, AZL-79418, AZL-79421, AZL-79424, AZL-79431, AZL-79437, AZL-79440, AZL-79442, AZL-79446, AZL-79449, AZL-79452, AZL-79455, AZL-79460, AZL-79467, AZL-79469, AZL-79472, AZL-79475, AZL-79478, AZL-79481, AZL-79484, AZL-79487, DEBIAN-CVE-2026-3381, GHSA-jvq4-fjjq-g6w7, UBUNTU-CVE-2026-3381, openSUSE-SU-2026:10320-1, openSUSE-SU-2026:21142-1

## What is CVE-2026-3381?

CVE-2026-3381 is a critical vulnerability in PMQS Compress::Raw::Zlib, published on 5 Mar 2026. 

### 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.

Weakness: CWE-1284 (Improper Validation of Specified Quantity in Input), CWE-1395 (Dependency on Vulnerable Third-Party Component)

## Which versions are affected by CVE-2026-3381?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `perl-Compress-Raw-Zlib` | openSUSE:Leap 16.0 | All versions | 2.222-bp160.1.1 |
| `perl-Compress-Raw-Zlib` | openSUSE:Tumbleweed | All versions | 2.222-1.1 |

Products: Pmqs Compress\.

## How do I fix CVE-2026-3381?

Upgrade to a fixed version.

## Is CVE-2026-3381 being exploited?

There is no known exploitation of CVE-2026-3381 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-3381 and fix it if it is affected.

What it is: CVE-2026-3381 is a critical vulnerability in PMQS Compress::Raw::Zlib, published on 5 Mar 2026. 
Exploitation: There is no known exploitation of CVE-2026-3381 in the wild and no public exploit code.

Affected product: PMQS Compress::Raw::Zlib. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-3381/ (Markdown: https://insights.sbomify.com/CVE-2026-3381/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-3381
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-3381
- OSV: https://osv.dev/vulnerability/CVE-2026-3381

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-3381/
Summaries are generated and may contain mistakes; the official description above is the record.
