CVE-2026-85091
zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write
A public proof of concept exists; no exploitation attested.
- Published2026-09-03
- Fixed in1.1.33
- WeaknessCWE-787
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
zlib 1.2.11 through 1.3.2 contains a heap buffer overflow: after an underlying write() fails, gz_write() returns without resetting strm.next_in, leaving it pointed at the caller's buffer. A later gz* write call then derives a position from the stale pointer and writes past a heap allocation; any write() failure reaches it, including EPIPE on a blocking descriptor, and in versions before 1.3.1.2 the failed write must be followed by a gzclearerr() call.
Timeline
dates in UTC- 2026-09-0301:04CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.1 | ≥ 1.1.25, < 1.1.33 | 1.1.33 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As VulnCheck, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- zlibother versions: not affectedAffected
- ≥ 1.2.11, ≤ 1.3.2no fix statedcustom
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-13
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gitoxideopenSUSE:Tumbleweedall versions · fixed in 0.62.0-1.1
- klibcUbuntu:Pro:20.04:LTSall versions · no fixed version listedand 1 other package
- klibcUbuntu:Pro:18.04:LTSall versions · no fixed version listedand 1 other package
- klibcUbuntu:Pro:16.04:LTSall versions · no fixed version listedand 1 other package
- klibcUbuntu:26.10all versions · no fixed version listedand 1 other package
- mysqlAzure Linux:3all versions · no fixed version listedand 3 other packages
- rustupCleanStartall versions · fixed in 1.28.2-r7
- trivyopenSUSE:Tumbleweedall versions · fixed in 0.76.0-1.1
28 more package ranges on OSV.dev
Vendor advisories
- CVE-2026-85091 Red Hat Product Security
zlib: zlib: Heap buffer overflow in gz_vacate() allows arbitrary code execution
Fix
- Update libz-sys to 1.1.33
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-09-03
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-11-13
- CISA-ADPSSVC decisionpoc2026-09-03
- CNACVSS 4.08.32026-11-13
- CNACVSS 3.17.42026-11-13
- CNAweakness (CWE)CWE-7872026-11-13
- FIRST EPSSEPSS score0.5 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-99090same flawAzure Linux · MIT
- AZL-99174same flawAzure Linux · MIT
- AZL-99234same flawAzure Linux · MIT
- AZL-99276same flawAzure Linux · MIT
- AZL-99294same flawAzure Linux · MIT
- CGA-495r-7mf9-p4m3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4wpx-467r-fh3jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-64hx-6x96-r8f7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6ph6-75jp-484psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-7955-fhww-9pv3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8pq5-rm52-wxcmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-jq86-8338-vxq7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-m46g-37hm-gpghsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-q5h9-37rw-9fp8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-q858-gr6r-ppw3same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-70301same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-g5fp-32jq-cfw2same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1997same flawJulia Security Advisories · CC-BY-4.0
- RUSTSEC-2026-0544same flawRustSec · CC0-1.0
- DLA-4951-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-6613-1advisory covering several CVEsDebian · LicenseRef-unstated
- openSUSE-SU-2026:12206-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:12684-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- USN-8954-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- CVSS 4.0 vector
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2026-09-03
- Last modified
- 2026-11-13
- NVD status
- Awaiting Analysis
- GitHub advisory
- GHSA-g5fp-32jq-cfw2
Frequently asked questions
What is CVE-2026-85091?
Is CVE-2026-85091 actively exploited?
What is the CVSS score for CVE-2026-85091?
Running zlib? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-g5fp-32jq-cfw2
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0