CVE-2026-57437
published 2026-06-25CVE-2026-57437: Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source…
PriorityP428medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
0.31%
23.5th percentile
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source document alive for garbage collection. If an XPathContext outlived its document and the document was collected, evaluating an XPath expression could read invalid memory and potentially segfault. This is only reachable when application code constructs an XPathContext directly and lets the document become unreachable while continuing to use the context. The normal Document#xpath, #css, and related search methods are not affected, and it is not triggerable by malicious document input. This vulnerability is fixed in 1.19.4.
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| 3scale-amp2 | backend-rhel8 | — | — |
| 3scale-amp2 | system-rhel7 | — | — |
| 3scale-amp2 | system-rhel8 | — | — |
| 3scale-amp2 | system-rhel9 | — | — |
| 3scale-amp2 | toolbox-rhel8 | — | — |
| 3scale-amp2 | toolbox-rhel9 | — | — |
| 3scale-amp2 | zync-rhel8 | — | — |
| 3scale-amp2 | zync-rhel9 | — | — |
| 3scale-amp21 | backend | — | — |
| 3scale-amp21 | system | — | — |
| 3scale-amp21 | zync | — | — |
| 3scale-amp22 | backend | — | — |
| 3scale-amp22 | system | — | — |
| 3scale-amp22 | zync | — | — |
| 3scale-amp26 | toolbox | — | — |
| nokogiri | nokogiri | < 1.19.4 | 1.19.4 |
| satellite_el8 | rubygem-nokogiri | — | — |
| sparklemotion | nokogiri | < 1.19.4 | 1.19.4 |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvdv4.01.7LOWCVSS: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:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Clear
vendor_redhat5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-57437 rubygem-nokogiri: Nokogiri: Denial of Service due to improper XPathContext garbage collection [fedora-all]
bugzilla·2026-07-06·CVSS 5.3
CVE-2026-57437 [MEDIUM] CVE-2026-57437 rubygem-nokogiri: Nokogiri: Denial of Service due to improper XPathContext garbage collection [fedora-all]
CVE-2026-57437 rubygem-nokogiri: Nokogiri: Denial of Service due to improper XPathContext garbage collection [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source document alive for garbage collection. If an XPathContext outlived its document and the document was collected, evaluating an XPath expression could read invalid memory and potentially segfault. This is only reachable when application code constructs an XPathContext directly and lets the document be
Bugzilla
CVE-2026-57437 rubygem-nokogiri: Nokogiri: Denial of Service due to improper XPathContext garbage collection [epel-all]
bugzilla·2026-07-06·CVSS 5.3
CVE-2026-57437 [MEDIUM] CVE-2026-57437 rubygem-nokogiri: Nokogiri: Denial of Service due to improper XPathContext garbage collection [epel-all]
CVE-2026-57437 rubygem-nokogiri: Nokogiri: Denial of Service due to improper XPathContext garbage collection [epel-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source document alive for garbage collection. If an XPathContext outlived its document and the document was collected, evaluating an XPath expression could read invalid memory and potentially segfault. This is only reachable when application code constructs an XPathContext directly and lets the document beco
Bugzilla
CVE-2026-57437 nokogiri: Nokogiri: Denial of Service due to improper XPathContext garbage collection
bugzilla·2026-06-25·CVSS 5.3
CVE-2026-57437 [MEDIUM] CVE-2026-57437 nokogiri: Nokogiri: Denial of Service due to improper XPathContext garbage collection
CVE-2026-57437 nokogiri: Nokogiri: Denial of Service due to improper XPathContext garbage collection
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source document alive for garbage collection. If an XPathContext outlived its document and the document was collected, evaluating an XPath expression could read invalid memory and potentially segfault. This is only reachable when application code constructs an XPathContext directly and lets the document become unreachable while continuing to use the context. The normal Document#xpath, #css, and related search methods are not affected, and it is not triggerable by malicious document input. This vulnerability is fixed in 1.19.4.
2026-06-25
Published