CVE-2026-85091: zlib - Buffer Overflow
- Cve: CVE-2026-85091
- Name: zlib - Buffer Overflow
- 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.
- Impact: Attackers can cause heap buffer overflow leading to potential remote code execution or application crash.
- Remediation: Update to a version later than 1.3.2 or the latest available version.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.4
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.00469
- Epss percentile: 0.41372
- Assignee: [email protected]
- Published at: 2026-09-03T13:06:20Z
- Age in days: 81
- Modified at: 2026-11-13T15:17:56Z
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-85091
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| zlib:zlib | >= 1.2.11, <= 1.3.2 | no | cna | /v1/products/zlib/zlib |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| madler/zlib | commit, fix | yes | /v1/repositories/madler/zlib |
Index
- Repositories: 161
- Repositories high signal: 141
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts