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.
CVE-2026-57437
This medium-severity CVE scores 5.3 under NVD CVSS v3. EPSS exploit probability: 0.3%, top 77% 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).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.3
- EG Score
- 5.3(medium)
- EPSS
- 23.1%
- KEV
- Not listed
Published
June 25, 2026
Last Modified
June 26, 2026
Advisory Details (1)
Auto-updated Jun 27, 2026Possible Use-After-Free when directly using `NokogirI::XML::XPathContext` beyond document lifetime · Advisory · sparklemotion/nokogiri · GitHub
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-p67v-3w7g-wjg7Vendor Advisories for CVE-2026-57437(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 25× in last 7d / 34× 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-07 06:46 UTCEG score recompute
- 2026-07-07 06:46 UTCVendor advisory
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 07:15 UTCEG score recompute
- 2026-07-06 07:15 UTCVendor advisory
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 07:53 UTCEG score recompute
- 2026-07-05 07:53 UTCVendor advisory
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 08:35 UTCEG score recompute
- 2026-07-04 08:35 UTCVendor advisory
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 09:16 UTCEG score recompute
- 2026-07-03 09:16 UTCVendor advisory
- 2026-07-02 09:56 UTCEG score recompute
- 2026-07-02 09:56 UTCVendor advisory
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 10:38 UTCEG score recompute
- 2026-07-01 10:38 UTCVendor advisory
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 11:19 UTCEG score recompute
Show 9 moreShow fewer
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 11:51 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 12:32 UTCEG score recompute▲ 3.60
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 17:41 UTCNVD updateCVSS v3 → 5.3 · severity → MEDIUM
- 2026-06-25 15:48 UTCEG score recompute
- 2026-06-25 15:47 UTCNVD updatefirst tracked
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc
- CVE-2006-10003EG 9.8CRITICAL
- CVE-2015-20107NVD 7.6EG 9.8EPSS 93%HIGH
- CVE-2013-7381EG 9.8CRITICAL
- CVE-2014-0048EG 9.8EPSS 93%CRITICAL
- CVE-2007-4559EG 9.8EPSS 98%CRITICAL
- CVE-2013-3900NVD 5.5EG 9.0 KEVEPSS 99%MEDIUM
- CVE-2013-2094NVD 8.4EG 9.0 KEVEPSS 99%HIGH
- CVE-2014-9356EG 8.6EPSS 91%HIGH
- CVE-2014-5282EG 8.1HIGH
- CVE-2014-8141EG 7.8EPSS 94%HIGH
Same CWE
10 shownCWE-416
- CVE-2010-3962NVD 8.1EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-0806NVD 8.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-0249NVD 8.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2009-4324NVD 7.8EG 9.0 KEVEPSS 100%HIGH
- CVE-2010-3328EG 8.8EPSS 98%HIGH
- CVE-2010-1772EG 8.8HIGH
- CVE-2010-1208EG 8.8EPSS 91%HIGH
- CVE-2010-0050EG 8.8EPSS 96%HIGH
- CVE-2010-0378EG 8.8EPSS 93%HIGH
- CVE-2009-3658EG 8.8EPSS 95%HIGH
Frequently asked(5)
What is CVE-2026-57437?
When was CVE-2026-57437 disclosed?
Is CVE-2026-57437 actively exploited?
What is the CVSS score of CVE-2026-57437?
How do I remediate CVE-2026-57437?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-57437
Is Your Infrastructure Affected by CVE-2026-57437?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.