CVE-2022-50998
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.)
- Affected products
- Nokogiri
- CVSS 4.0
- 8.7 HIGH
- CVSS 3.1
- 7.5 HIGH
- Weakness
- CWE-476
- NVD status
- Received
- Published
- 2026-08-25
No indexed exploits for CVE-2022-50998 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2022-50998 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.