Findings

CVE-2018-25032

zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

Published Mar 25, 2022 · updated Oct 14, 2026 · nokogiri nokogiri

zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

Timeline

Detection, updates, and resolution for this record.

  1. Mar 25, 2022 · NIST NVD

    Detected

    zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

  2. Oct 14, 2026 · NIST NVD

    Updated

    zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

  3. Oct 14, 2026 · OSV.dev

    Fix available

    libz-mingw-w64 fixed in 1.2.11+dfsg-5; libz-mingw-w64 fixed in 1.2.11+dfsg-5; libz-mingw-w64 fixed in 1.2.11+dfsg-5; zlib fixed in 1:1.2.11.dfsg-4

  4. Oct 14, 2026 · OSV.dev

    Fix available

    libz-mingw-w64 fixed in 1.2.11+dfsg-5

  5. Oct 14, 2026 · OSV.dev

    Fix available

    zlib fixed in 1:1.2.11.dfsg-4

  6. Oct 14, 2026 · OSV.dev

    Updated

    zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

Affected

  • Debian:12 libz-mingw-w640 → 1.2.11+dfsg-5
  • Debian:12 zlib0 → 1:1.2.11.dfsg-4
  • Debian:13 libz-mingw-w640 → 1.2.11+dfsg-5
  • Debian:13 zlib0 → 1:1.2.11.dfsg-4
  • Debian:14 libz-mingw-w640 → 1.2.11+dfsg-5
  • Debian:14 zlib0 → 1:1.2.11.dfsg-4
  • cpe apple/mac os xversion unspecified
  • cpe debian/debian linux10.0
  • cpe debian/debian linux9.0
  • cpe fedoraproject/fedora34
  • cpe mariadb/mariadbversion unspecified
  • cpe netapp/active iq unified managerversion unspecified
  • cpe nokogiri/nokogiriversion unspecified
  • cpe python/pythonversion unspecified
  • cpe zlib/zlibversion unspecified

Sources

  • CVE.orgCVE-2018-25032

    Official CVE identifier

    cve.org
  • NIST NVDCVE-2018-25032

    zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.

    nvd.nist.gov
  • OSV.devDEBIAN-CVE-2018-25032
    osv.dev

References

CVE-2018-25032 · ZeroDay Findings