CVE-2026-57438: nokogiri Use After Free
Vulnerability summary
CVE-2026-57438 is a medium (CVSS 6.6) Use After Free vulnerability in nokogiri. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2% of scored vulnerabilities.
Timeline
- 25-06-2026PublishedVulnerability first disclosed.
- 25-06-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS: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:UDiffers
- NVDNIST2.2LowCVSS: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
- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
- OSV · DebianEcosystem advisory · calculated6.6MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
EPSS trend
Probability
0.13%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
0.00 pp
From 0.13% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- ruby-nokogiriAll versions (No fix recorded) | < 1.19.4+dfsg-1
Nokogiri1 product
- nokogiri< 1.19.4
RubyGems1 product
- nokogiri< 1.19.4
Sparklemotion1 product
- nokogiri< 1.19.4
Ubuntu1 product
- ruby-nokogiriAll versions (No fix recorded)
5 vendors · 5 products
References
6 links- github.com/sparklemotion/nokogiri/security/advisories/GHSA-wfpw-mmfh-qq69X Refsource CONFIRMREPORTWEBVendor Advisory