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 in place, freeing the include node along with its children (such as 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.
CVE-2026-57438
This medium-severity CVE scores 6.6 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 99% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.6
- EG Score
- 6.6(medium)
- EPSS
- 0.7%
- KEV
- Not listed
Published
June 25, 2026
Last Modified
June 26, 2026
Advisory Details (1)
Auto-updated Jun 26, 2026Possible Use-After-Free in XInclude Processing · Advisory · sparklemotion/nokogiri · GitHub
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wfpw-mmfh-qq69Vendor Advisories for CVE-2026-57438(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Frequently asked(5)
What is CVE-2026-57438?
When was CVE-2026-57438 disclosed?
Is CVE-2026-57438 actively exploited?
What is the CVSS score of CVE-2026-57438?
How do I remediate CVE-2026-57438?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-57438
Is Your Infrastructure Affected by CVE-2026-57438?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.