CVE-2026-57438

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*

History

26 Jun 2026, 04:11

Type Values Removed Values Added
References () https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wfpw-mmfh-qq69 - () https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wfpw-mmfh-qq69 - Vendor Advisory
CPE cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.6
First Time Nokogiri
Nokogiri nokogiri

25 Jun 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-25 16:16

Updated : 2026-06-26 04:11


NVD link : CVE-2026-57438

Mitre link : CVE-2026-57438

CVE.ORG link : CVE-2026-57438


JSON object : View

Products Affected

nokogiri

  • nokogiri
CWE
CWE-416

Use After Free