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.
This CVE has been withdrawn by MITRE
MITRE marked CVE-2024-58378 as REJECTED on . It is no longer considered a valid vulnerability record. The original content below is preserved for historical reference only.
Reason given by MITRE
This CVE ID has been rejected as a duplicate.
CVE-2024-58378
✕ Withdrawn — historical dataCRITICALPre-NVD 9.8
9.8CVSS
- CVSS v3
- 9.8
- EchelonGraph score
- Not yet assessedThis CVE record was withdrawn by its numbering authority, so there is no vulnerability to rate.
- EPSS PROB
- —
- EPSS %ILE
- —
- KEV
- —Not applicable: this CVE ID was withdrawn
Published
August 25, 2026
Last Modified
September 1, 2026
References (3)
- disclosure@vulncheckhttps://github.com/GNOME/libxml2/commit/92721970
- disclosure@vulncheckhttps://github.com/sparklemotion/nokogiri/security/advisories/GHSA-xc9x-jj77-9p9j
- disclosure@vulncheckhttps://www.vulncheck.com/advisories/nokogiri-before-use-after-free-via-xmltextreader
Frequently asked(4)
What is CVE-2024-58378?
CVE-2024-58378 is a rejected CVE ID: its record was withdrawn on September 1, 2026 and no longer describes a vulnerability. Reason given: This CVE ID has been rejected as a duplicate.
When was the CVE record for CVE-2024-58378 published?
The CVE record for CVE-2024-58378 was published on August 25, 2026. EchelonGraph's copy of the record carries a last-modified date of September 1, 2026; the record at its source may have been updated since.
What is the CVSS score of CVE-2024-58378?
CVE-2024-58378 has a CVSS base score of 9.8 (a secondary CVSS source that NVD displays; NVD's own analysis pending).
How do I remediate CVE-2024-58378?
There is nothing to remediate under CVE-2024-58378: it is a rejected (withdrawn) CVE ID and no longer describes a vulnerability.