{"id":"CVE-2018-25032","aliases":["GHSA-jc36-42cf-vqwj","PSF-2022-3"],"url":"https://o3.security/vulnerability/CVE-2018-25032","summary":"Nokogiri affected by zlib's Out-of-bounds Write vulnerability","details":"zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.","published":"2022-03-25T09:15:08.187Z","modified":"2026-08-07T15:11:26.845112Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.51733,"percentile":0.9888,"asOf":"2026-09-13"},"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"RubyGems","name":"nokogiri","fixedVersion":"1.13.4"}],"fix":{"url":"https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531","label":"madler/zlib@5c44459"},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-333517.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-419740.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-470355.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-565386.html"},{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-942865.html"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2022/May/33"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2022/May/35"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2022/May/38"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2022/03/25/2"},{"type":"ADVISORY","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/04/msg00000.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00008.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00023.html"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202210-42"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220526-0009/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220729-0004/"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT213255"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT213256"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT213257"},{"type":"ADVISORY","url":"https://www.openwall.com/lists/oss-security/2022/03/24/1"},{"type":"ADVISORY","url":"https://www.openwall.com/lists/oss-security/2022/03/28/3"},{"type":"FIX","url":"https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531"},{"type":"FIX","url":"https://github.com/madler/zlib/compare/v1.2.11...v1.2.12"},{"type":"FIX","url":"https://github.com/madler/zlib/issues/605"},{"type":"FIX","url":"https://www.debian.org/security/2022/dsa-5111"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"EVIDENCE","url":"http://www.openwall.com/lists/oss-security/2022/03/26/1"},{"type":"EVIDENCE","url":"https://www.openwall.com/lists/oss-security/2022/03/28/1"},{"type":"WEB","url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v6gp-9mmm-c6p5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-25032"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220729-0004"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20220526-0009"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-25032.yml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T15:11:26.845112Z"}}