PT-2026-52450
CVE-2026-57435
·
Published
2026-06-19
·
Updated
2026-06-27
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
Nokogiri versions prior to 1.19.4
Description
The CRuby native extension of this XML and HTML library can leave a Ruby wrapper pointing to freed memory when replacing the value of an XML attribute. If Ruby code has already accessed an attribute child node, the
Nokogiri::XML::Attr#value= function could free the underlying native child node while the wrapper remains reachable through the document node cache. Subsequent use of the freed child node or a Ruby GC mark may dereference an invalid pointer, leading to an invalid read and a potential segfault (a specific type of crash caused by accessing memory that the program does not have permission to access).Recommendations
Update to version 1.19.4.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾