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.
References
Configurations
No configuration.
History
13 Nov 2026, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| Summary | (en) 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. | |
| References |
|
03 Sep 2026, 13:06
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-03 13:06
Updated : 2026-11-13 15:17
NVD link : CVE-2026-85091
Mitre link : CVE-2026-85091
CVE.ORG link : CVE-2026-85091
JSON object : View
Products Affected
No product.
CWE
CWE-787
Out-of-bounds Write
