Back
CVE-2018-25032
zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
- 7.5HighCVSS base score
- 51.7%Exploitation in 30 daysEPSS · top 1.0% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
Description
zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 51.7% · top 1.0% of all CVEs (11 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsnokogiriGHSA-jc36-42cf-vqwj (opens in a new tab)
References
References35
- https://www.openwall.com/lists/oss-security/2022/03/24/1 (opens in a new tab)x_transferred
- https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531 (opens in a new tab)x_transferred
- [oss-security] 20220325 Re: zlib memory corruption on deflate (i.e. compress) (opens in a new tab)mailing-listx_transferred
- [oss-security] 20220326 Re: zlib memory corruption on deflate (i.e. compress) (opens in a new tab)mailing-listx_transferred
- DSA-5111 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20220402 [SECURITY] [DLA 2968-1] zlib security update (opens in a new tab)mailing-listx_transferred
- FEDORA-2022-413a80a102 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-dbd2935e44 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-12b89e2aad (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20220507 [SECURITY] [DLA 2993-1] libz-mingw-w64 security update (opens in a new tab)mailing-listx_transferred
- 20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina (opens in a new tab)mailing-listx_transferred
- 20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6 (opens in a new tab)mailing-listx_transferred
- 20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4 (opens in a new tab)mailing-listx_transferred
- FEDORA-2022-61cf1c64f6 (opens in a new tab)vendor-advisoryx_transferred
- https://www.oracle.com/security-alerts/cpujul2022.html (opens in a new tab)x_transferred
- https://www.openwall.com/lists/oss-security/2022/03/28/3 (opens in a new tab)x_transferred
- https://www.openwall.com/lists/oss-security/2022/03/28/1 (opens in a new tab)x_transferred
- https://github.com/madler/zlib/compare/v1.2.11...v1.2.12 (opens in a new tab)x_transferred
- https://github.com/madler/zlib/issues/605 (opens in a new tab)x_transferred
- https://support.apple.com/kb/HT213257 (opens in a new tab)x_transferred
- https://support.apple.com/kb/HT213256 (opens in a new tab)x_transferred
- https://support.apple.com/kb/HT213255 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20220526-0009/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20220729-0004/ (opens in a new tab)x_transferred
- FEDORA-2022-3a92250fd5 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-b58a85e167 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20220916 [SECURITY] [DLA 3114-1] mariadb-10.3 security update (opens in a new tab)mailing-listx_transferred
- GLSA-202210-42 (opens in a new tab)vendor-advisoryx_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-333517.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-419740.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-565386.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-942865.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-470355.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-1454 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jc36-42cf-vqwj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-25032)Record last updated .