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.
CVSS
No CVSS.
References
Configurations
No configuration.
History
10 Nov 2026, 21:19
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-10 21:19
Updated : 2026-11-12 22:18
NVD link : CVE-2026-126064
Mitre link : CVE-2026-126064
CVE.ORG link : CVE-2026-126064
JSON object : View
Products Affected
No product.
CWE
CWE-416
Use After Free
