All reports
Unknown

libs-sys: heap buffer overflow

Affected versions

Rust / Cargolibz-sys
Affected versions
>=1.1.25 <1.1.33
Fixed version
1.1.33

Exploitation

CVE-2026-85091

Probability of exploitation in the next 30 days: 0.47%

FIRST EPSS · 2026-11-21

Description

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.

Links