CVE-2026-76844
CVE-2026-76844 · zlib 1.2.11 through 1.3.2 Heap Buffer Overflow via Stale gzwrite Pointer After Failed Write
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.3 · Élevée · EPSS 0,6% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
zlib
- Versions du logiciel
- ≥ 1.2.11, ≤ 1.3.2: Concernée (custom)
Aucun correctif publié
webpack-dev-middleware npm
- Plages de versions concernées
- SEMVER: ≥ 8.0.0, < 8.3.0
Mettez à jour vers 8.3.0
webpack-dev-middleware npm
- Plages de versions concernées
- SEMVER: < 7.4.6
Mettez à jour vers 7.4.6
Sources originales
- https://gist.github.com/thesmartshadow/e0b9481792afb7c31e86fee1ff084490
- https://github.com/madler/zlib/commit/df84af25dc1942490e1d1c899a07619152a46148
- https://github.com/madler/zlib/blob/v1.3.2/gzwrite.c#L393
- https://github.com/madler/zlib
- https://www.vulncheck.com/advisories/zlib-1.3.1.2-through-1.3.2-heap-buffer-overflow-via-gz-vacate
- https://nvd.nist.gov/vuln/detail/CVE-2026-76844