CVE-2026-57438

LOW CVSS 4.0: 2.2 EPSS 0.12%
Updated Oct 26, 2026
Nokogiri
Parameter Value
CVSS 2.2 (LOW)
Affected Versions before 1.19.4
Fixed In 1.19.4
Type CWE-416 (Use After Free)
Vendor Nokogiri
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nokogiri Nokogiri
cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*
— 1.19.4