CVE-2026-126064

LOW CVSS 4.0: 2.0 EPSS 0.14%
Updated Nov 13, 2026
Ruby
Parameter Value
CVSS 2.0 (LOW)
Fixed In 1.19.5
Type CWE-416 (Use After Free)
Vendor Ruby
Public PoC No

Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.5, the CRuby native extension can leave Ruby wrappers pointing to freed memory when Nokogiri::XML::Node#[]= or Nokogiri::XML::Node#lang= replaces an existing attribute value after code has accessed the attribute's child nodes. Replacing the value frees native child nodes while their wrappers remain reachable, and later use of those wrappers can cause an invalid read or process segfault.

JRuby is not affected. This issue is fixed in version 1.19.5.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)