Use After Free in Nokogiri
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…
Vulnerability class: Use-After-Free
EPSS: 0.004 (29.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Nokogiri
- Sparklemotion Nokogiri — versions < 1.19.4
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-57435?
- CVE-2026-57435 is a high-severity vulnerability in Nokogiri, classified under Use After Free. CVSS score: 7.5/10. Published 2026-06-25.
- How severe is CVE-2026-57435?
- High severity. CVSS v3 base score is 7.5 out of 10.