CVSS 4.0
6.3 mediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:NMedium (6.3) in nokogiri nokogiri. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in nokogiri 1.19.4.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Hnokogiri (RubyGems): fixed in 1.19.4Explain CVE-2026-57235 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57235?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57235?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-57235 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| nokogiri:nokogiri | before 1.19.4 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-5prr-v3j2-97mh | RubyGems | nokogiri | <1.19.4 | 1.19.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | ruby-nokogiri | no fix listed | DEBIAN-CVE-2026-57235 |
| Debian | 14 | ruby-nokogiri | 1.19.4+dfsg-1 | DEBIAN-CVE-2026-57235 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 24.04:LTS and 6 more | ruby-nokogiri | no fix listed | UBUNTU-CVE-2026-57235 |
| Alpine | v3.24 | ruby-nokogiri | 1.19.4-r0 | ALPINE-CVE-2026-57235 |
| Azure Linux | 3 | rubygem-nokogiri | 1.19.4-1 | AZL-91083 |
| Alpaquita | stream | ruby-nokogiri | 1.19.4-r0 | BELL-CVE-2026-57235 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine · Alpaquita.
Red Hat rates this Moderate.
Red Hat ships Nokogiri as a dependency in several products (Satellite, 3scale API Management, RHEL BuildRoot). The vulnerable code path requires an attacker to supply a specially crafted large negative integer index to `Nokogiri::XML::NodeSet#[]` or `#slice`. Typically, NodeSet indices are not directly exposed to untrusted user input, which limits the practical exploitability of this flaw. On CRuby (used in Red Hat products), exploitation results in a process crash (denial of service) due to an out-of-bounds read, but does not lead to information disclosure or code execution.
There is no mitigation for this flaw other than upgrading to Nokogiri 1.19.4 or later. If upgrading is not immediately possible, review application code to ensure that untrusted user input is not passed as an index to `Nokogiri::XML::NodeSet#[]` or `#slice` methods.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat 3scale API Management Platform 2 | 3scale-amp21/backend | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp21/system | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp21/zync | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp22/backend | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp22/system | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp22/zync | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp26/toolbox | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/backend-rhel8 | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel7 | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel8 | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel9 | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/toolbox-rhel8 | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/toolbox-rhel9 | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel8 | Fix deferred | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel9 | Fix deferred | |
| Red Hat Satellite 6 | rubygem-nokogiri | Fix deferred | |
| Red Hat Satellite 6 | satellite:el8/rubygem-nokogiri | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-57235.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.