Security mailing lists by PureSourceCode

CVE-2026-85091

HIGH 8.3CVSS 4.0

libz-sys: heap buffer overflow

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
3 Sep 2026
Last modified
3 Dec 2026
Assigned by
disclosure@vulncheck.com
NVD status
Awaiting Analysis
Weakness
CWE-787
Also known as
RUSTSEC-2026-0544
Sources
NVDJSONOSV RUSTSEC-2026-0544JSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 HIGH 8.3 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
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io libz-sys >= 1.1.25, < 1.1.33 1.1.33

References

History

  • 3 Dec 2026 11:07 UTC · OSV: updated (other details)
  • 25 Nov 2026 21:05 UTC · NVD: first stored (published 3 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.