Bug 2523566 (CVE-2024-58378) - CVE-2024-58378 rubygem-nokogiri: Nokogiri before 1.16.2 Use-After-Free via xmlTextReader
Summary: CVE-2024-58378 rubygem-nokogiri: Nokogiri before 1.16.2 Use-After-Free via xm...
Keywords:
Status: NEW
Alias: CVE-2024-58378
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-25 15:34 UTC by OSIDB Bzimport
Modified: 2026-09-21 21:13 UTC (History)
26 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-25 15:34:25 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.