CVE-2018-25032
HIGH 7.5CVSS 3.1Nokogiri affected by zlib's Out-of-bounds Write vulnerability
zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
- Published
- 25 Mar 2022
- Last modified
- 14 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-787
- Also known as
- GHSA-jc36-42cf-vqwjPSF-2022-3
- Sources
- NVDJSONOSV GHSA-jc36-42cf-vqwjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nokogiri | nokogiricpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* |
< 1.13.4 | 1.13.4 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.7.0, < 3.7.14 | 3.7.14 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.8.0, < 3.8.14 | 3.8.14 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.9.0, < 3.9.13 | 3.9.13 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.10.0, < 3.10.5 | 3.10.5 |
| NVD | zlib | zlibcpe:2.3:a:zlib:zlib:*:*:*:*:*:*:*:* |
>= 1.2.2.2, < 1.2.12 | 1.2.12 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* |
>= 10.15, < 10.15.7 | 10.15.7 |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:-:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020-001:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020-005:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020-007:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-001:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-002:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-003:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-006:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-007:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-008:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2022-001:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2022-002:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2022-003:*:*:*:*:*:* |
= 10.15.7 | |
| NVD | apple | macoscpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* |
>= 11.0, < 11.6.6 | 11.6.6 |
| NVD | apple | macoscpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* |
>= 12.0.0, < 12.4 | 12.4 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 10.3.0, < 10.3.36 | 10.3.36 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 10.4.0, < 10.4.26 | 10.4.26 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 10.5.0, < 10.5.17 | 10.5.17 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 10.6.0, < 10.6.9 | 10.6.9 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 10.7.0, < 10.7.5 | 10.7.5 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 10.8.0, < 10.8.4 | 10.8.4 |
| NVD | mariadb | mariadbcpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:* |
>= 10.9.0, < 10.9.2 | 10.9.2 |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* |
(no version) | |
| NVD | netapp | e-series_santricity_os_controllercpe:2.3:a:netapp:e-series_santricity_os_controller:*:*:*:*:*:*:*:* |
>= 11.0.0, <= 11.70.2 | |
| NVD | netapp | management_services_for_element_softwarecpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | oncommand_workflow_automationcpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | ontap_select_deploy_administration_utilitycpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | hci_compute_nodecpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h300s_firmwarecpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h500s_firmwarecpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h700s_firmwarecpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h410s_firmwarecpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | h410c_firmwarecpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | siemens | scalance_sc622-2c_firmwarecpe:2.3:o:siemens:scalance_sc622-2c_firmware:*:*:*:*:*:*:*:* |
< 3.0 | 3.0 |
| NVD | siemens | scalance_sc626-2c_firmwarecpe:2.3:o:siemens:scalance_sc626-2c_firmware:*:*:*:*:*:*:*:* |
< 3.0 | 3.0 |
| NVD | siemens | scalance_sc632-2c_firmwarecpe:2.3:o:siemens:scalance_sc632-2c_firmware:*:*:*:*:*:*:*:* |
< 3.0 | 3.0 |
| NVD | siemens | scalance_sc636-2c_firmwarecpe:2.3:o:siemens:scalance_sc636-2c_firmware:*:*:*:*:*:*:*:* |
< 3.0 | 3.0 |
| NVD | siemens | scalance_sc642-2c_firmwarecpe:2.3:o:siemens:scalance_sc642-2c_firmware:*:*:*:*:*:*:*:* |
< 3.0 | 3.0 |
| NVD | siemens | scalance_sc646-2c_firmwarecpe:2.3:o:siemens:scalance_sc646-2c_firmware:*:*:*:*:*:*:*:* |
< 3.0 | 3.0 |
| NVD | azul | zulucpe:2.3:a:azul:zulu:6.45:*:*:*:*:*:*:* |
= 6.45 | |
| NVD | azul | zulucpe:2.3:a:azul:zulu:7.52:*:*:*:*:*:*:* |
= 7.52 | |
| NVD | azul | zulucpe:2.3:a:azul:zulu:8.60:*:*:*:*:*:*:* |
= 8.60 | |
| NVD | azul | zulucpe:2.3:a:azul:zulu:11.54:*:*:*:*:*:*:* |
= 11.54 | |
| NVD | azul | zulucpe:2.3:a:azul:zulu:13.46:*:*:*:*:*:*:* |
= 13.46 | |
| NVD | azul | zulucpe:2.3:a:azul:zulu:15.38:*:*:*:*:*:*:* |
= 15.38 | |
| NVD | azul | zulucpe:2.3:a:azul:zulu:17.32:*:*:*:*:*:*:* |
= 17.32 | |
| NVD | goto | gotoassistcpe:2.3:a:goto:gotoassist:*:*:*:*:*:*:*:* |
< 11.9.18 | 11.9.18 |
| OSV | RubyGems | nokogiri | < 1.13.4 | 1.13.4 |
References
- http://seclists.org/fulldisclosure/2022/May/33 · Mailing List, Third Party Advisory, WEB
- http://seclists.org/fulldisclosure/2022/May/35 · Mailing List, Third Party Advisory, WEB
- http://seclists.org/fulldisclosure/2022/May/38 · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2022/03/25/2 · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2022/03/26/1 · Exploit, Mailing List, Third Party Advisory, WEB
- https://cert-portal.siemens.com/productcert/pdf/ssa-333517.pdf · Third Party Advisory, WEB
- https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531 · Patch, Third Party Advisory, WEB
- https://github.com/madler/zlib/compare/v1.2.11...v1.2.12 · Patch, Third Party Advisory, WEB
- https://github.com/madler/zlib/issues/605 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/04/msg00000.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/05/msg00008.html · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/09/msg00023.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF/ · Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB/ · Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4/ · Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F/ · Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y/ · Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU/ · Third Party Advisory
- https://security.gentoo.org/glsa/202210-42 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220526-0009/ · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20220729-0004/ · Third Party Advisory, WEB
- https://support.apple.com/kb/HT213255 · Third Party Advisory, WEB
- https://support.apple.com/kb/HT213256 · Third Party Advisory, WEB
- https://support.apple.com/kb/HT213257 · Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5111 · Patch, Third Party Advisory, WEB
- https://www.openwall.com/lists/oss-security/2022/03/24/1 · Mailing List, Third Party Advisory, WEB
- https://www.openwall.com/lists/oss-security/2022/03/28/1 · Exploit, Mailing List, Third Party Advisory, WEB
- https://www.openwall.com/lists/oss-security/2022/03/28/3 · Mailing List, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujul2022.html · Patch, Third Party Advisory, WEB
- https://cert-portal.siemens.com/productcert/html/ssa-333517.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-419740.html
- https://cert-portal.siemens.com/productcert/html/ssa-470355.html
- https://cert-portal.siemens.com/productcert/html/ssa-565386.html
- https://cert-portal.siemens.com/productcert/html/ssa-942865.html
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v6gp-9mmm-c6p5 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-25032 · ADVISORY
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XOKFMSNQ5D5WGMALBNBXU3GE442V74WU · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOKNP2L734AEL47NRYGVZIKEFOUBQY5Y · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NS2D2GFPFGOJUL4WQ3DUAY7HF4VWQ77F · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JZZPTWRYQULAOL3AW7RZJNVZ2UONXCV4 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DF62MVMH3QUGMBDCB3DY2ERQ6EBHTADB · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DCZFIJBJTZ7CL5QXBFKTQ22Q26VINRUF · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2018-25032.yml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Mar 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Mar 2022)