CVE-2026-85091 zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write
HighCVSS 8.3
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
17 packages: 12 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux cloud-hypervisor(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| azure linux kata-containers(Azure Linux 3.0) | All versions | No fix listed | No fix yet |
| debian/zlib(Debian 12) | = 1:1.2.13.dfsg-1; = 1:1.2.13.dfsg-2; = 1:1.2.13.dfsg-3; = 1:1.3.dfsg+really1.3.1-1 +12 more | No fix listed | No fix yet |
| ubuntu/klibc(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/zsync(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/zlib(Alpine v3.21) | < 1.3.2-r1 | 1.3.2-r1 | Fixed |
| alpine/zlib(Alpine v3.22) | < 1.3.2-r1 | 1.3.2-r1 | Fixed |
| alpine/zlib(Alpine v3.23) | < 1.3.2-r1 | 1.3.2-r1 | Fixed |
| alpine/zlib(Alpine v3.24) | < 1.3.2-r1 | 1.3.2-r1 | Fixed |
| azure linux zlib(Azure Linux 3.0) | < 1.3.2-2 | 1.3.2-2 | Fixed |
| crates.io libz-sys(crates.io) | >= 1.1.25, < 1.1.33 | 1.1.33 | Fixed |
| debian/zlib(Debian 13) | < 1:1.3.dfsg+really1.3.1-1+deb13u1; = 1:1.3.dfsg+really1.3.1-1 | 1:1.3.dfsg+really1.3.1-1+deb13u1 | Fixed |
| debian/zlib(Debian 14) | < 1:1.3.dfsg+really1.3.2-4; = 1:1.3.dfsg+really1.3.1-1; = 1:1.3.dfsg+really1.3.1-2; = 1:1.3.dfsg+really1.3.1-3 +3 more | 1:1.3.dfsg+really1.3.2-4 | Fixed |
| madler/zlib | >= 1.2.11, <= 1.3.2 | after 1.3.2 | Fixed |
| ubuntu/zlib(Ubuntu 24.04) | < 1:1.3.dfsg-3.1ubuntu2.3 | 1:1.3.dfsg-3.1ubuntu2.3 | Fixed |
| ubuntu/zlib(Ubuntu 26.04) | < 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | Fixed |
| ubuntu/zlib(Ubuntu 26.10) | < 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| madler/zlib | >= 1.2.11, <= 1.3.2 | No fix listed |
| debian/zlib(Debian:12) | All versions | No fix listed |
| debian/zlib(Debian:12) | = 1:1.2.13.dfsg-1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.2.13.dfsg-2 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.2.13.dfsg-3 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.1-1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.1-2 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.1-3 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.2-1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.2-2 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.2-3 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg+really1.3.2-4 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-2 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-3 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-3.1 | No fix listed |
| debian/zlib(Debian:12) | = 1:1.3.dfsg-3.1~exp1 | No fix listed |
| debian/zlib(Debian:13) | < 1:1.3.dfsg+really1.3.1-1+deb13u1 | 1:1.3.dfsg+really1.3.1-1+deb13u1 |
| debian/zlib(Debian:13) | = 1:1.3.dfsg+really1.3.1-1 | No fix listed |
| debian/zlib(Debian:14) | < 1:1.3.dfsg+really1.3.2-4 | 1:1.3.dfsg+really1.3.2-4 |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.1-1 | No fix listed |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.1-2 | No fix listed |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.1-3 | No fix listed |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.2-1 | No fix listed |
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.2-2 | No fix listed |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/zlib(Debian:14) | = 1:1.3.dfsg+really1.3.2-3 | No fix listed |
| alpine/zlib(Alpine:v3.21) | < 1.3.2-r1 | 1.3.2-r1 |
| alpine/zlib(Alpine:v3.22) | < 1.3.2-r1 | 1.3.2-r1 |
| alpine/zlib(Alpine:v3.23) | < 1.3.2-r1 | 1.3.2-r1 |
| alpine/zlib(Alpine:v3.24) | < 1.3.2-r1 | 1.3.2-r1 |
| crates.io libz-sys(crates.io) | >= 1.1.25, < 1.1.33 | 1.1.33 |
| ubuntu/zlib(Ubuntu:24.04) | < 1:1.3.dfsg-3.1ubuntu2.3 | 1:1.3.dfsg-3.1ubuntu2.3 |
| ubuntu/zlib(Ubuntu:26.04) | < 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | 1:1.3.dfsg+really1.3.1-1ubuntu3.2 |
| ubuntu/klibc(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/zlib(Ubuntu:26.10) | < 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | 1:1.3.dfsg+really1.3.2-3ubuntu1.1 |
| ubuntu/zsync(Ubuntu:26.10) | All versions | No fix listed |
| azure linux kata-containers(Azure Linux:3.0) | All versions | No fix listed |
| azure linux zlib(Azure Linux:3.0) | < 1.3.2-2 | 1.3.2-2 |
| azure linux cloud-hypervisor(Azure Linux:3.0) | All versions | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes patch vendor-advisory
- Technical report and proof of concept exploit technical-description
- github.com technical-description
- github.com product
- VulnCheck Advisory: zlib 1.3.1.2 through 1.3.2 Heap Buffer Overflow via gz_vacate third-party-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2527814 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-85091 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8954-1 vendor-advisory
- bugs.debian.org issue-tracking
- Patch Commit patch
- crates.io product
- rustsec.org vendor-advisory
- github.com issue-tracking
- github.com
- github.com
- ENISA EUVD EUVD-2026-70301 third-party-advisory