CVSS 4.0
1.7 lowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:ULow (1.7) 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:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Lnokogiri (RubyGems): fixed in 1.19.4Explain CVE-2026-57436 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-57436?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-57436?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-57436 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-wjv4-x9w8-wm3h | 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-57436 |
| Debian | 14 | ruby-nokogiri | 1.19.4+dfsg-1 | DEBIAN-CVE-2026-57436 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 24.04:LTS and 6 more | ruby-nokogiri | no fix listed | UBUNTU-CVE-2026-57436 |
| Alpine | v3.24 | ruby-nokogiri | 1.19.4-r0 | ALPINE-CVE-2026-57436 |
| Azure Linux | 3 | rubygem-nokogiri | 1.19.4-1 | AZL-91077 |
| Alpaquita | stream | ruby-nokogiri | 1.19.4-r0 | BELL-CVE-2026-57436 |
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 Low.
This is a flaw in Nokogiri, a Ruby library for XML and HTML processing, that can result in a denial of service. The vulnerability stems from insufficient validation when setting the document root, allowing a malicious XML document to trigger a heap use-after-free. This could lead to application crashes and impact the availability of services that process untrusted XML or HTML content using Nokogiri. This is only triggered by a programming error.
Red Hat ships Nokogiri as a dependency in several products including Red Hat 3scale API Management Platform, Red Hat Satellite, and Red Hat Enterprise Linux buildroot packages. All affected product versions ship Nokogiri prior to the 1.19.4 fix.
This memory-safety issue affects only the CRuby implementation (libxml2). The JRuby implementation was not affected; the same input validation was added there for behavioral parity.
To mitigate this issue, applications that use Nokogiri to process untrusted XML or HTML documents should implement robust input validation and operate within a sandboxed environment. Restricting the application's ability to process arbitrary external content can reduce the risk of triggering the heap use-after-free vulnerability and prevent a denial of service.
| 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-57436.