CVE-2026-57435
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri’s CRuby native extension could leave a Ruby wrapper pointing to freed memory when replacing the value of an XML attribute. If Ruby code had already accessed an attribute child node, Nokogiri::XML::Attr#value= could free the underlying native child node while the wrapper remained reachable through the document node cache. A later use of the freed child node or a Ruby GC mark could dereference an invalid pointer, causing an invalid read and a possible segfault. This vulnerability is fixed in 1.19.4.
Scoring
- Severity
- LOW
- CVSS base score
- 1.7
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
- EPSS probability
- 0.46%
- CWE
- CWE-416, CWE-825
- Published
- 2026-06-25
- Last modified
- 2026-06-25
Affected products
- sparklemotion nokogiri
Weakness type
Related vulnerabilities
- CVE-2026-87877 — zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free via Setters Called After close()
- CVE-2026-87825 — zstd-jni 1.3.8-4 through 1.5.7-13 Use-After-Free of Compression and Decompression Dictionaries
- CVE-2026-87617 — Use after free in DevTools in Google Chrome prior to 153.0.8010.36 allowed a remote attacker...
- CVE-2026-87448 — Use after free in DevTools in Google Chrome prior to 153.0.8010.36 allowed a remote attacker to...
- CVE-2026-87634 — Use after free in WebPackaging in Google Chrome prior to 153.0.8010.36 allowed a remote attacker to...
- CVE-2026-87609 — Use after free in Sharing in Google Chrome on on iOS prior to 153.0.8010.36 allowed a remote...
- CVE-2026-87526 — Use after free in Passwords in Google Chrome prior to 153.0.8010.36 allowed a remote attacker...
- CVE-2026-87455 — Use after free in Aura in Google Chrome prior to 153.0.8010.36 allowed a remote attacker to...