CVE-2026-85091
published high CVSS 4.0 · 8.3zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zlib | — | zlib1.2.11 through 1.3.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | zlib | Fixed | 1.3.2-r1 | Package fix record |
| Debian | bookworm | zlib | Advisory build | 1:1.2.13.dfsg-1+deb12u1 | DLA-4951-1 |
| Ubuntu | noble | zlib | Advisory build | 1:1.3.dfsg-3.1ubuntu2.3 | USN-8954-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxideaarch64 | Advisory build | 0.62.0-1.1 | OPENSUSE-SU-2026:12684-1 |
| Alpine Linux | v3.21 | zlib | Fixed | 1.3.2-r1 | Package fix record |
Show 31 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | zlib | Fixed | 1.3.2-r1 | Package fix record |
| Alpine Linux | v3.23 | zlib | Fixed | 1.3.2-r1 | Package fix record |
| Alpine Linux | v3.24 | zlib | Fixed | 1.3.2-r1 | Package fix record |
| Debian | trixie | zlib | Advisory build | 1:1.3.dfsg+really1.3.1-1+deb13u1 | DSA-6613-1 |
| Ubuntu | resolute | zlib | Advisory build | 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | USN-8954-1 |
| Ubuntu | stonking | zlib | Advisory build | 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | USN-8954-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxideppc64le | Advisory build | 0.62.0-1.1 | OPENSUSE-SU-2026:12684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxides390x | Advisory build | 0.62.0-1.1 | OPENSUSE-SU-2026:12684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitoxidex86_64 | Advisory build | 0.62.0-1.1 | OPENSUSE-SU-2026:12684-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | trivyaarch64 | Advisory build | 0.76.0-1.1 | OPENSUSE-SU-2026:12206-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | trivyppc64le | Advisory build | 0.76.0-1.1 | OPENSUSE-SU-2026:12206-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | trivys390x | Advisory build | 0.76.0-1.1 | OPENSUSE-SU-2026:12206-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | trivyx86_64 | Advisory build | 0.76.0-1.1 | OPENSUSE-SU-2026:12206-1 |
| Ubuntu | noble | lib32z1 | Advisory build | 1:1.3.dfsg-3.1ubuntu2.3 | USN-8954-1 |
| Ubuntu | noble | lib64z1 | Advisory build | 1:1.3.dfsg-3.1ubuntu2.3 | USN-8954-1 |
| Ubuntu | noble | libminizip1t64 | Advisory build | 1:1.3.dfsg-3.1ubuntu2.3 | USN-8954-1 |
| Ubuntu | noble | libx32z1 | Advisory build | 1:1.3.dfsg-3.1ubuntu2.3 | USN-8954-1 |
| Ubuntu | noble | minizip | Advisory build | 1:1.3.dfsg-3.1ubuntu2.3 | USN-8954-1 |
| Ubuntu | noble | zlib1g | Advisory build | 1:1.3.dfsg-3.1ubuntu2.3 | USN-8954-1 |
| Ubuntu | resolute | lib32z1 | Advisory build | 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | USN-8954-1 |
| Ubuntu | resolute | lib64z1 | Advisory build | 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | USN-8954-1 |
| Ubuntu | resolute | libminizip1t64 | Advisory build | 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | USN-8954-1 |
| Ubuntu | resolute | libx32z1 | Advisory build | 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | USN-8954-1 |
| Ubuntu | resolute | minizip | Advisory build | 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | USN-8954-1 |
| Ubuntu | resolute | zlib1g | Advisory build | 1:1.3.dfsg+really1.3.1-1ubuntu3.2 | USN-8954-1 |
| Ubuntu | stonking | lib32z1 | Advisory build | 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | USN-8954-1 |
| Ubuntu | stonking | lib64z1 | Advisory build | 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | USN-8954-1 |
| Ubuntu | stonking | libminizip1t64 | Advisory build | 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | USN-8954-1 |
| Ubuntu | stonking | libx32z1 | Advisory build | 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | USN-8954-1 |
| Ubuntu | stonking | minizip | Advisory build | 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | USN-8954-1 |
| Ubuntu | stonking | zlib1g | Advisory build | 1:1.3.dfsg+really1.3.2-3ubuntu1.1 | USN-8954-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.3 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.4 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zlib | zlib | 1.2.11 through 1.3.2 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-787 Out-of-bounds Write
References
5- Technical report and proof of concept https://gist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490
- https://github.com/madler/zlib
- https://github.com/madler/zlib/blob/v1.3.2/gzwrite.c#L393
- Patch Commit https://github.com/madler/zlib/commit/df84af25dc1942490e1d1c899a07619152a46148
- VulnCheck Advisory: zlib 1.3.1.2 through 1.3.2 Heap Buffer Overflow via gz_vacate https://www.vulncheck.com/advisories/zlib-1.3.1.2-through-1.3.2-heap-buffer-overflow-via-gz-vacate
Provider assertions
2VulnCheck · cna
zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0b57a6a84ebbc2ceef97e7bddc00a1e877e3e5ee4a6edc1c20cbe382a69865b8
- Ingested
- 13 Nov 2026, 14:21:36 UTC
- Source record
- Official CVE record