CVE-2026-57438Nokogiri
Low 2.2
Follow: this CVE · Nokogiri · Nokogiri We alert you by email or Slack (account required).
- Priority
- 13
- CVSS 4.0
- 2.2
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 25, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-416
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, XInclude substitution performed by Nokogiri::XML::Node#do_xinclude replaced each <xi:include> in place, freeing the include node along with its children (such as <xi:fallback> and its descendants) and any namespaces declared on them. If an application had already exposed one of those nodes or namespaces to Ruby, the corresponding Ruby object was left pointing at freed memory. Using the object could result in invalid reads or writes to memory. This vulnerability is fixed in 1.19.4.
What to do
- Apply the vendor's security update for Nokogiri.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | nokogiri |
< 1.19.4 |
1.19.4 |
gem "nokogiri", ">= 1.19.4" |
Per OSV / GitHub Advisories (GHSA-wfpw-mmfh-qq69). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nokogiri | nokogiri | < 1.19.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory