Nokogiri before 1.15.6 and 1.16.x before 1.16.2 (CRuby, when using the packaged libxml2) is affected by a use-after-free vulnerability in libxml2 (CVE-2024-25062) in the xmlTextReader module, which underlies Nokogiri::XML::Reader. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing a crafted XML document can lead to an xmlValidatePopElement use-after-free. Nokogiri 1.15.6 and 1.16.2 resolve this by upgrading the packaged libxml2 to 2.11.7 and 2.12.5 respectively. JRuby and installations using system libxml2 are not affected.
CVE-2024-58378
Score 9.8 from GitHub Security Advisory (severity: CRITICAL) published 2026-08-25. a secondary CVSS source baseline 9.8; sources differ by 0.0.
- 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
- 9.8
- EG Score
- 9.8(high)
- EG Risk
- 59(Track)EG Risk 59/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 computedSeverity98% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 27%
- KEV
- Not listed
Published
August 25, 2026
Last Modified
August 28, 2026
Advisory Details (3)
Auto-updated Aug 28, 2026Nokogiri before 1.16.2 Use-After-Free via xmlTextReader | Advisories | VulnCheck
https://www.vulncheck.com/advisories/nokogiri-before-use-after-free-via-xmltextreaderNokogiri updates packaged libxml2 to 2.12.5 and 2.11.7 to resolve CVE-2024-25062 · Advisory · sparklemotion/nokogiri · GitHub
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-xc9x-jj77-9p9jcommit 92721970 (GNOME/libxml2)
Fix landed in GNOME/libxml2 commit 92721970 — awaiting tagged release
https://github.com/GNOME/libxml2/commit/92721970Vendor Advisories for CVE-2024-58378(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.16.0, 1.16.1 | 1.16.2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 47× in last 7d / 47× 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-08-30 04:39 UTCEG score recompute
- 2026-08-30 04:39 UTCGHSA enrichment
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-30 01:01 UTCGHSA enrichment
- 2026-08-29 21:24 UTCGHSA enrichment
- 2026-08-29 17:46 UTCGHSA enrichment
- 2026-08-29 14:05 UTCGHSA enrichment
- 2026-08-29 10:23 UTCGHSA enrichment
- 2026-08-29 06:46 UTCGHSA enrichment
- 2026-08-29 03:09 UTCGHSA enrichment
- 2026-08-28 23:28 UTCEG score recompute
- 2026-08-28 23:28 UTCGHSA enrichment
- 2026-08-28 22:51 UTCEG score recompute
- 2026-08-28 22:51 UTCGHSA enrichment
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-28 19:07 UTCGHSA enrichment
- 2026-08-28 16:42 UTCEG score recompute
- 2026-08-28 16:41 UTCGHSA enrichment
- 2026-08-28 15:52 UTCEG score recompute
- 2026-08-28 15:52 UTCGHSA enrichment
- 2026-08-28 13:33 UTCGHSA enrichment
- 2026-08-28 09:53 UTCGHSA enrichment
- 2026-08-28 06:13 UTCGHSA enrichment
- 2026-08-28 02:31 UTCGHSA enrichment
- 2026-08-27 22:54 UTCGHSA enrichment
Show 22 moreShow fewer
- 2026-08-27 19:17 UTCGHSA enrichment
- 2026-08-27 15:40 UTCEG score recompute
- 2026-08-27 15:40 UTCGHSA enrichment
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-27 12:00 UTCGHSA enrichment
- 2026-08-27 08:22 UTCGHSA enrichment
- 2026-08-27 04:42 UTCGHSA enrichment
- 2026-08-27 01:04 UTCGHSA enrichment
- 2026-08-26 21:27 UTCGHSA enrichment
- 2026-08-26 17:51 UTCEG score recompute
- 2026-08-26 17:50 UTCGHSA enrichment
- 2026-08-26 14:44 UTCEPSS rescore
- 2026-08-26 14:11 UTCGHSA enrichment
- 2026-08-26 10:34 UTCGHSA enrichment
- 2026-08-26 06:55 UTCGHSA enrichment
- 2026-08-26 03:18 UTCGHSA enrichment
- 2026-08-25 23:40 UTCGHSA enrichment
- 2026-08-25 20:03 UTCEG score recompute
- 2026-08-25 20:03 UTCGHSA enrichment
- 2026-08-25 16:24 UTCEG score recompute
- 2026-08-25 15:30 UTCEG score recompute
- 2026-08-25 15:29 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2024-58378?
When was CVE-2024-58378 disclosed?
Is CVE-2024-58378 actively exploited?
What is the CVSS score of CVE-2024-58378?
How do I remediate CVE-2024-58378?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-58378
Is Your Infrastructure Affected by CVE-2024-58378?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.