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 the index. A large negative index could pass the check and then be used at full width, reading outside the node set's storage. On CRuby this is an out-of-bounds read that typically crashes the process; on JRuby it is not memory-unsafe but returns an incorrect node. This vulnerability is fixed in 1.19.4.
Conclusion & alert: CVE-2026-57235 is rated Low Risk (34/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.33%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-26 | — | 0.33% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 8.2 | 3.1 | HIGH |
|
3.9 | 4.2 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-57235 not yet assigned priority: Debian including 1 source packages (ruby-nokogiri), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 4, resolved 1. | https://security-tracker.debian.org/tracker/CVE-2026-57235 |
suse
|
high | — | https://www.suse.com/security/cve/CVE-2026-57235/ |
ubuntu
|
medium | CVE-2026-57235 medium priority: Ubuntu including 1 source packages (ruby-nokogiri), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, trusty, upstream): needs-triage 8. | https://ubuntu.com/security/CVE-2026-57235 |
| URL | Tags |
|---|---|
| https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-5prr-v3j2-97mh | Mitigation Vendor Advisory |