CVE-2018-25032Nokogiri
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Nokogiri · Nokogiri We alert you by email or Slack (account required).
- Priority
- 65
- CVSS 3.1
- 7.5
- EPSS
- 51.7% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Mar 25, 2022
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
zlib before 1.2.12 allows memory corruption when deflating (i.e., when compressing) if the input has many distant matches.
What to do
- Apply the vendor's security update for Nokogiri.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | nokogiri |
< 1.13.4 |
1.13.4 |
gem "nokogiri", ">= 1.13.4" |
Per OSV / GitHub Advisories (GHSA-jc36-42cf-vqwj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nokogiri | nokogiri | < 1.13.4 |
| python | python | ≥ 3.7.0 < 3.7.14 |
| python | python | ≥ 3.8.0 < 3.8.14 |
| python | python | ≥ 3.9.0 < 3.9.13 |
| python | python | ≥ 3.10.0 < 3.10.5 |
| zlib | zlib | ≥ 1.2.2.2 < 1.2.12 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| apple | mac_os_x | ≥ 10.15 < 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | mac_os_x | 10.15.7 |
| apple | macos | ≥ 11.0 < 11.6.6 |
| apple | macos | ≥ 12.0.0 < 12.4 |
| mariadb | mariadb | ≥ 10.3.0 < 10.3.36 |
| mariadb | mariadb | ≥ 10.4.0 < 10.4.26 |
| mariadb | mariadb | ≥ 10.5.0 < 10.5.17 |
| mariadb | mariadb | ≥ 10.6.0 < 10.6.9 |
| mariadb | mariadb | ≥ 10.7.0 < 10.7.5 |
| mariadb | mariadb | ≥ 10.8.0 < 10.8.4 |
| mariadb | mariadb | ≥ 10.9.0 < 10.9.2 |
| netapp | active_iq_unified_manager | all |
| netapp | e-series_santricity_os_controller | ≥ 11.0.0 ≤ 11.70.2 |
| netapp | management_services_for_element_software | all |
| netapp | oncommand_workflow_automation | all |
| netapp | ontap_select_deploy_administration_utility | all |
| netapp | hci_compute_node | all |
| netapp | h300s_firmware | all |
| netapp | h500s_firmware | all |
| netapp | h700s_firmware | all |
| netapp | h410s_firmware | all |
| netapp | h410c_firmware | all |
| siemens | scalance_sc622-2c_firmware | < 3.0 |
| siemens | scalance_sc626-2c_firmware | < 3.0 |
| siemens | scalance_sc632-2c_firmware | < 3.0 |
| siemens | scalance_sc636-2c_firmware | < 3.0 |
| siemens | scalance_sc642-2c_firmware | < 3.0 |
| siemens | scalance_sc646-2c_firmware | < 3.0 |
| azul | zulu | 6.45 |
| azul | zulu | 7.52 |
| azul | zulu | 8.60 |
| azul | zulu | 11.54 |
| azul | zulu | 13.46 |
| azul | zulu | 15.38 |
| azul | zulu | 17.32 |
and 1 more in the JSON
Official advisories
- Zlib and Foxit Vulnerabilities in CADRA · Siemens · SSA-470355 · Jul 14, 2026 Critical
- ruby4.0-rubygem-nokogiri-1.18.9-1.4 on GA media · SUSE · openSUSE-SU-2026:10356-1 · Mar 13, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- seclists.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Exploit Mailing List Third Party Advisory
- cert-portal.siemens.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- lists.fedoraproject.org Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- security.netapp.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- support.apple.com Third Party Advisory
- www.debian.org Patch Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Exploit Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com