zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
CVE-2018-25032
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 75% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High exploitation likelihood — EPSS 52%
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EPSS
- 98.8%
- KEV
- Not listed
Published
March 25, 2022
Last Modified
July 14, 2026
Advisory Details (9)
Auto-updated Jul 14, 2026[SECURITY] [DLA 2968-1] zlib security update
https://lists.debian.org/debian-lts-announce/2022/04/msg00000.htmlCVE-2018-25032 (zlib memory corruption on deflate) · Issue #605 · madler/zlib · GitHub
https://github.com/madler/zlib/issues/605Comparing v1.2.11...v1.2.12 · madler/zlib · GitHub
https://github.com/madler/zlib/compare/v1.2.11...v1.2.12commit 5c44459c3b28 (madler/zlib)
Patch available: madler/zlib v1.2.13 (contains commit 5c44459c3b28)
https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531oss-security - Re: zlib memory corruption on deflate (i.e. compress)
http://www.openwall.com/lists/oss-security/2022/03/26/1oss-security - Re: zlib memory corruption on deflate (i.e. compress)
http://www.openwall.com/lists/oss-security/2022/03/25/2Full Disclosure: APPLE-SA-2022-05-16-2 macOS Monterey 12.4
http://seclists.org/fulldisclosure/2022/May/38Full Disclosure: APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6
http://seclists.org/fulldisclosure/2022/May/35Full Disclosure: APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina
http://seclists.org/fulldisclosure/2022/May/33Vendor Advisories for CVE-2018-25032(11)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2018-25032Microsoft Security Response Center (MSRC)
CVE-2018-25032
- RHSA-2022:7144Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.51 security update
- RHSA-2022:5439Red Hat Product SecurityHigh
Red Hat Security Advisory: RHV-H security update (redhat-virtualization-host) 4.3.23
- RHSA-2022:4896Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Virtualization security, bug fix, and enhancement update [ovirt-4.5.0]
- RHSA-2022:4845Red Hat Product SecurityHigh
Red Hat Security Advisory: zlib security update
- RHSA-2022:4592Red Hat Product SecurityHigh
Red Hat Security Advisory: rsync security update
- RHSA-2022:4584Red Hat Product SecurityHigh
Red Hat Security Advisory: zlib security update
- RHSA-2022:2213Red Hat Product SecurityHigh
Red Hat Security Advisory: zlib security update
- +3 more
Patch Availability(27)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| nokogiri | 1.0.0 ... 1.9.1 (143 versions) | 1.13.4 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(14)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2022:1591IMPORTANT2018-04-20
RHSA-2022:1591 — Important
- Red HatRHSA-2022:2192IMPORTANT2018-04-20
RHSA-2022:2192 — Important
- Red HatRHSA-2022:2197IMPORTANT2018-04-20
RHSA-2022:2197 — Important
- Red HatRHSA-2022:2198IMPORTANT2018-04-20
RHSA-2022:2198 — Important
- Red HatRHSA-2022:2201IMPORTANT2018-04-20
RHSA-2022:2201 — Important
- Red HatRHSA-2022:7813IMPORTANT2018-04-20
RHSA-2022:7813 — Important
- Red HatRHSA-2022:8420IMPORTANT2018-04-20
RHSA-2022:8420 — Important
- Red HatRHSA-2023:0943IMPORTANT2018-04-20
RHSA-2023:0943 — Important
- Red HatRHSA-2023:0975IMPORTANT2018-04-20
RHSA-2023:0975 — Important
- Red HatRHSA-2023:0976IMPORTANT2018-04-20
RHSA-2023:0976 — Important
- UbuntuUSN-5355-1MEDIUM
zlib vulnerability
- UbuntuUSN-5355-2MEDIUM
zlib vulnerability
- UbuntuUSN-5359-1MEDIUM
rsync vulnerability
- UbuntuUSN-5359-2MEDIUM
rsync vulnerability
Data Freshness Timeline
(refreshed 9× in last 7d / 43× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-17 19:29 UTCOSV refresh
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
Show 65 moreShow fewer
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-02 16:54 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 17:23 UTCOSV refresh
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 06:06 UTCOSV refresh
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:19 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 01:04 UTCEG score recompute
- 2026-05-26 01:04 UTCVendor advisory
Frequently asked(5)
What is CVE-2018-25032?
When was CVE-2018-25032 disclosed?
Is CVE-2018-25032 actively exploited?
What is the CVSS score of CVE-2018-25032?
How do I remediate CVE-2018-25032?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-25032
Is Your Infrastructure Affected by CVE-2018-25032?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.