CVE-2026-85091 zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write
설명
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.
영향 받는 제품 제품 1개
-
zlib
zlib
영향 받는 버전
- 1.2.11 이상 1.3.2 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 5건
- gist.github.com https://gist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490 (새 창)
- github.com https://github.com/madler/zlib (새 창)
- github.com https://github.com/madler/zlib/blob/v1.3.2/gzwrite.c#L393 (새 창)
- github.com https://github.com/madler/zlib/commit/df84af25dc1942490e1d1c899a07619152a46148 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/zlib-1.3.1.2-through-1.3.2-heap-buffer-overflow-via-gz-vacate (새 창)