{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-85091","id":"CVE-2026-85091","title":"zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write","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 th","descriptionLong":"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.","published":"2026-09-03T01:04:44.460Z","updated":"2026-11-17T10:26:16.370071914Z","reserved":"2026-09-02T23:53:05.582Z","status":"Awaiting Analysis","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.3,"vector":"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.3,"vector":"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"VulnCheck"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"vulncheck.com"}],"rating":"high","products":["zlib"],"affectedProducts":[{"vendor":"zlib","product":"zlib","defaultStatus":"unaffected","versions":[{"version":"1.2.11","lessThanOrEqual":"1.3.2","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"libz-sys","purl":"pkg:cargo/libz-sys","ranges":[">=1.1.25 <1.1.33"],"fixed":["1.1.33"],"advisory":"RUSTSEC-2026-0544"}],"cwes":["CWE-787"],"aliases":["RUSTSEC-2026-0544"],"references":[{"url":"https://gist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490","tags":["technical-description","exploit","evidence"]},{"url":"https://github.com/madler/zlib/commit/df84af25dc1942490e1d1c899a07619152a46148","tags":["patch","fix","web"]},{"url":"https://github.com/madler/zlib/blob/v1.3.2/gzwrite.c#L393","tags":["technical-description","article"]},{"url":"https://github.com/madler/zlib","tags":["product","package"]},{"url":"https://www.vulncheck.com/advisories/zlib-1.3.1.2-through-1.3.2-heap-buffer-overflow-via-gz-vacate","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85091.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85091","tags":["advisory"]},{"url":"https://crates.io/crates/libz-sys","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2026-0544.html","tags":["advisory"]},{"url":"https://github.com/madler/zlib/issues/1310","tags":["report"]},{"url":"https://github.com/rust-lang/libz-sys/commit/b161d77050c00c6eeb7dd4b66ea14d4524d73dc4","tags":["web"]},{"url":"https://github.com/rust-lang/libz-sys/commit/8827cadbe2b560233909212527c291827fb34512","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00469,"epssPercentile":0.41324,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-85091","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85091","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-85091","ok":true,"note":"1 package"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-85091","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}