CVE-2026-57438
Severity CVSS v4.0:
LOW
Type:
CWE-416
Use After Free
Publication date:
25/06/2026
Last modified:
26/06/2026
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 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.
Impact
Base Score 4.0
2.20
Severity 4.0
LOW
Base Score 3.x
6.60
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* | 1.19.4 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



