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.
CVE-2026-57235
This high-severity CVE scores 8.2 under NVD CVSS v3. EPSS exploit probability: 0.3%, top 73% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.2
- EG Score
- 8.2(medium)
- EG Risk
- 42(Track)EG Risk 42/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity82% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 27%
- KEV
- Not listed
Published
June 25, 2026
Last Modified
June 26, 2026
Advisory Details (1)
Auto-updated Jun 25, 2026Possible Out-of-Bounds Read in `Nokogiri::XML::NodeSet#[]` · Advisory · sparklemotion/nokogiri · GitHub
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-5prr-v3j2-97mhVendor Advisories for CVE-2026-57235(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| nokogiri | 1.0.0 ... 1.9.1 (194 versions) | 1.19.4 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 13× in last 7d / 82× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-27 02:06 UTCVendor advisory
- 2026-07-26 15:09 UTCEG score recompute
- 2026-07-26 15:09 UTCVendor advisory
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:20 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 21:55 UTCVendor advisory
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 10:58 UTCVendor advisory
- 2026-07-15 23:37 UTCVendor advisory
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 12:39 UTCVendor advisory
- 2026-07-15 02:00 UTCEPSS rescore
Show 62 moreShow fewer
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-15 01:40 UTCVendor advisory
- 2026-07-14 14:44 UTCVendor advisory
- 2026-07-14 03:46 UTCVendor advisory
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-13 05:34 UTCVendor advisory
- 2026-07-12 18:37 UTCVendor advisory
- 2026-07-12 07:40 UTCVendor advisory
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 20:43 UTCVendor advisory
- 2026-07-11 09:46 UTCVendor advisory
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 22:49 UTCVendor advisory
- 2026-07-10 11:52 UTCVendor advisory
- 2026-07-10 00:55 UTCVendor advisory
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 13:51 UTCVendor advisory
- 2026-07-09 02:50 UTCVendor advisory
- 2026-07-08 15:53 UTCVendor advisory
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 04:55 UTCVendor advisory
- 2026-07-07 17:53 UTCVendor advisory
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-07 06:11 UTCVendor advisory
- 2026-07-06 19:10 UTCVendor advisory
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 08:10 UTCVendor advisory
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 21:11 UTCVendor advisory
- 2026-07-05 10:13 UTCVendor advisory
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 23:16 UTCVendor advisory
- 2026-07-04 12:19 UTCVendor advisory
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 01:22 UTCVendor advisory
- 2026-07-03 14:25 UTCVendor advisory
- 2026-07-03 03:28 UTCVendor advisory
- 2026-07-02 16:31 UTCVendor advisory
- 2026-07-02 05:33 UTCVendor advisory
- 2026-07-01 18:36 UTCVendor advisory
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 07:39 UTCVendor advisory
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 18:03 UTCEG score recompute▲ 1.90
- 2026-06-26 13:40 UTCNVD updateCVSS v3 → 8.2 · severity → HIGH
- 2026-06-25 15:48 UTCEG score recompute
- 2026-06-25 15:47 UTCNVD updatefirst tracked
Frequently asked(5)
What is CVE-2026-57235?
When was CVE-2026-57235 disclosed?
Is CVE-2026-57235 actively exploited?
What is the CVSS score of CVE-2026-57235?
How do I remediate CVE-2026-57235?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-57235
Is Your Infrastructure Affected by CVE-2026-57235?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.