Bug 2523558 (CVE-2022-50998) - CVE-2022-50998 nokogiri: libxml2: Nokogiri: Denial of Service and Memory Corruption via Crafted XML Input
Summary: CVE-2022-50998 nokogiri: libxml2: Nokogiri: Denial of Service and Memory Corr...
Keywords:
Status: NEW
Alias: CVE-2022-50998
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2526239
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-25 15:34 UTC by OSIDB Bzimport
Modified: 2026-09-07 17:06 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:05 UTC
Nokogiri before 1.13.9 (CRuby implementation using packaged libraries) bundles libxml2 v2.9.14, which is affected by CVE-2022-40304 (data corruption / double-free from an entity reference cycle when entity content is allocated from a dict) and CVE-2022-40303 (integer overflows when parsing with XML_PARSE_HUGE). Nokogiri 1.13.9 upgrades the packaged libxml2 to v2.10.3 to address these issues. Processing crafted XML input may lead to denial of service or memory corruption. (The advisory also references CVE-2022-2309, a NULL pointer dereference via iterwalk/canonicalize, which maintainers determined does not affect Nokogiri users.)


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