{"id":"CVE-2018-25032","published":"2022-03-25T00:00:00Z","modified":"2026-10-14T06:35:20Z","title":"zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant…","vendor":null,"product":null,"tier":"tail","description":{"text":"zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.51733,"percentile":0.98975,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2022/03/24/1","tags":[]},{"url":"https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/03/25/2","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/03/26/1","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2022/dsa-5111","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00000.html","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00008.html","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/May/33","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/May/35","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/May/38","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB/","tags":["vendor-advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":[]},{"url":"https://www.openwall.com/lists/oss-security/2022/03/28/3","tags":[]},{"url":"https://www.openwall.com/lists/oss-security/2022/03/28/1","tags":[]},{"url":"https://github.com/madler/zlib/compare/v1.2.11...v1.2.12","tags":[]},{"url":"https://github.com/madler/zlib/issues/605","tags":[]},{"url":"https://support.apple.com/kb/HT213257","tags":[]},{"url":"https://support.apple.com/kb/HT213256","tags":[]},{"url":"https://support.apple.com/kb/HT213255","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220526-0009/","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20220729-0004/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00023.html","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202210-42","tags":["vendor-advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-333517.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-419740.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-565386.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-942865.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-470355.html","tags":[]}],"priority":{"score":30.0,"factors":[{"name":"EPSS percentile","points":19.8},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":2,"earliest":"2022-09-29","earliestUrl":"https://github.com/Trinadh465/external_zlib_4.4_CVE-2018-25032","repos":[{"name":"Trinadh465/external_zlib_4.4_CVE-2018-25032","url":"https://github.com/Trinadh465/external_zlib_4.4_CVE-2018-25032","stars":1,"created":"2022-09-29"}]},"first":{"date":"2022-09-29","source":"PoC-in-GitHub","url":"https://github.com/Trinadh465/external_zlib_4.4_CVE-2018-25032"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T13:30:25.795648Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"nokogiri","vulnerableRanges":["<1.13.4"],"patched":["1.13.4"],"from":["GHSA-jc36-42cf-vqwj"],"provenance":"source"}],"summary":{"text":"The flaw is an out-of-bounds write in zlib, the compression library, affecting versions before 1.2.12 in its deflate (compression) routine.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:35:09Z"},"euvd":{"id":"EUVD-2022-1454","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-3537","published":"2021-05-14","fixed":"1.11.4","kev":false},{"cve":"CVE-2021-41098","published":"2021-09-27","fixed":"1.12.5","kev":false},{"cve":"CVE-2021-30560","published":"2021-08-03","fixed":"1.13.2","kev":false,"link":{"from":"CVE-2021-30560","to":"CVE-2018-25032","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:nokogiri","fromFixed":"1.13.2","toFixed":"1.13.4","daysApart":234}]}},{"cve":"CVE-2018-25032","published":"2022-03-25","fixed":"1.13.4","kev":false},{"cve":"CVE-2022-24836","published":"2022-04-11","fixed":"1.13.4","kev":false},{"cve":"CVE-2022-29181","published":"2022-05-20","fixed":"1.13.6","kev":false},{"cve":"CVE-2022-23476","published":"2022-12-08","fixed":"1.13.10","kev":false}],"package":"RubyGems:nokogiri"}}