Advisory

RUSTSEC-2026-0544

Also known as: CVE-2026-85091

Summary

libs-sys: heap buffer overflow

Details

zlib versions 1.3.1.2 through 1.3.2 contain a heap buffer overflow vulnerability in the gz_vacate() function when processing non-blocking gzwrite() operations with stale external buffer pointers. Attackers can trigger the overflow by calling gzprintf() or gzvprintf() after a write stall, causing an unchecked memmove() to write beyond the internal input buffer boundary.

Severity

Not rated by the source.

Dates

Published
2026-11-11 12:00 UTC
Modified
2026-11-17 10:15 UTC

Affected packages and fixes

libz-sys

crates.io · All systems

Affected

  • introduced 1.1.25, fixed 1.1.33 (semver)

Fixed versions

1.1.33

Fix

  • Fixed version 1.1.33
    cargo update -p libz-sys --precise 1.1.33

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences