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.)
CVE-2022-50998
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2026-08-25. a secondary CVSS source baseline 7.5; 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
- 7.5
- EG Score
- 7.5(high)
- EG Risk
- 49(Track)EG Risk 49/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 computedSeverity75% × 45%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 28%
- KEV
- Not listed
Published
August 25, 2026
Last Modified
August 28, 2026
Advisory Details (1)
Auto-updated Aug 25, 2026Update packaged libxml2 to v2.10.3 · Advisory · sparklemotion/nokogiri · GitHub
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-2qc6-mcvw-92cwVendor Advisories for CVE-2022-50998(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.0.0 ... 1.9.1 (148 versions) | 1.13.9 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 25× in last 7d / 25× 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 01:19 UTCEPSS rescore
- 2026-08-29 19:54 UTCGHSA enrichment
- 2026-08-29 07:31 UTCEG score recompute
- 2026-08-29 07:31 UTCGHSA enrichment
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-28 19:08 UTCGHSA enrichment
- 2026-08-28 16:44 UTCEG score recompute
- 2026-08-28 16:44 UTCGHSA enrichment
- 2026-08-28 15:52 UTCEG score recompute
- 2026-08-28 15:52 UTCGHSA enrichment
- 2026-08-28 05:45 UTCGHSA enrichment
- 2026-08-27 17:20 UTCEG score recompute
- 2026-08-27 17:20 UTCGHSA enrichment
- 2026-08-27 17:14 UTCEG score recompute
- 2026-08-27 17:14 UTCGHSA enrichment
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-27 06:12 UTCGHSA enrichment
- 2026-08-26 17:46 UTCEG score recompute
- 2026-08-26 17:46 UTCGHSA enrichment
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-26 04:47 UTCEG score recompute
- 2026-08-26 04:47 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-2022-50998?
When was CVE-2022-50998 disclosed?
Is CVE-2022-50998 actively exploited?
What is the CVSS score of CVE-2022-50998?
How do I remediate CVE-2022-50998?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-50998
Is Your Infrastructure Affected by CVE-2022-50998?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.