Vulnerabilities

Vulnerability · 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 · catalog updated Oct 15, 2026 · zlib before 1.2.12 allows

Check this week

CVE-2018-25032 is not in CISA KEV. FIRST estimates a 51.73% chance of exploitation in the next 30 days. Check whether you run zlib before 1.2.12 allows.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (zlib before 1.2.12 allows).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
High7.5
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
51.73%
Remediation
Advisory link
Affected products
Debian:12 libz-mingw-w64 · Debian:12 zlib · Debian:13 libz-mingw-w64 · Debian:13 zlib · Debian:14 libz-mingw-w64 · Debian:14 zlib

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

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • 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

How to fix CVE-2018-25032

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2018-25032 is not in CISA KEV. FIRST estimates a 51.73% chance of exploitation in the next 30 days. Check whether you run zlib before 1.2.12 allows.

Which versions are affected?

Compare what you have installed with debian/debian linux 10.0; debian/debian linux 9.0. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-787: Out-of-bounds Write. EPSS 51.73%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Technology hubs

Code

The project this record applies to. Exploit listings stay in References.

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 · OpenSSF OSV / OSV Scanner

    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 · OpenSSF OSV / OSV Scanner

    Fix available

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

  5. Oct 14, 2026 · OpenSSF OSV / OSV Scanner

    Fix available

    zlib fixed in 1:1.2.11.dfsg-4

  6. Oct 14, 2026 · OpenSSF OSV / OSV Scanner

    Updated

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

  7. Oct 14, 2026 · OpenSSF OSV / OSV Scanner

    Updated

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

  8. Oct 15, 2026 · OpenSSF OSV / OSV Scanner

    Updated

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

Sources

References

Freshness

Last verified in this catalog Oct 16, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.