Out-of-bounds Read in Nokogiri
CVE-2026-57235
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::NodeSet#[] (and its alias #slice) checked the requested index against the node set's bounds using a 32-bit-truncated copy of…
Vulnerability class: Buffer Overflow
EPSS: 0.003 (26.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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-57235?
- CVE-2026-57235 is a high-severity vulnerability in Nokogiri, classified under Out-of-bounds Read. CVSS score: 8.2/10. Published 2026-06-25.
- How severe is CVE-2026-57235?
- High severity. CVSS v3 base score is 8.2 out of 10.