CVE-2022-50998

HIGHPre-NVD 7.57.5
EchelonGraph scoreHIGH confidence

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.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 4 sources updated this week
7.5EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.5Exploit: None knownExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.)

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 computed
Severity75% × 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, 2026
Patch available. Sources: github.
github Patch Available

Update packaged libxml2 to v2.10.3 · Advisory · sparklemotion/nokogiri · GitHub

https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-2qc6-mcvw-92cw

Vendor 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)
PackageVulnerable rangeFixed inDependents
nokogiri1.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.

  1. 2026-08-30 01:19 UTCEPSS rescore
  2. 2026-08-29 19:54 UTCGHSA enrichment
  3. 2026-08-29 07:31 UTCEG score recompute
  4. 2026-08-29 07:31 UTCGHSA enrichment
  5. 2026-08-28 21:38 UTCEPSS rescore
  6. 2026-08-28 19:08 UTCGHSA enrichment
  7. 2026-08-28 16:44 UTCEG score recompute
  8. 2026-08-28 16:44 UTCGHSA enrichment
  9. 2026-08-28 15:52 UTCEG score recompute
  10. 2026-08-28 15:52 UTCGHSA enrichment
  11. 2026-08-28 05:45 UTCGHSA enrichment
  12. 2026-08-27 17:20 UTCEG score recompute
  13. 2026-08-27 17:20 UTCGHSA enrichment
  14. 2026-08-27 17:14 UTCEG score recompute
  15. 2026-08-27 17:14 UTCGHSA enrichment
  16. 2026-08-27 14:22 UTCEPSS rescore
  17. 2026-08-27 06:12 UTCGHSA enrichment
  18. 2026-08-26 17:46 UTCEG score recompute
  19. 2026-08-26 17:46 UTCGHSA enrichment
  20. 2026-08-26 14:43 UTCEPSS rescore
  21. 2026-08-26 04:47 UTCEG score recompute
  22. 2026-08-26 04:47 UTCGHSA enrichment
  23. 2026-08-25 16:24 UTCEG score recompute
  24. 2026-08-25 15:30 UTCEG score recompute
  25. 2026-08-25 15:29 UTCMITRE cvelistV5first tracked

Frequently asked(5)

What is CVE-2022-50998?
CVE-2022-50998 is a high vulnerability published on August 25, 2026. 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…
When was CVE-2022-50998 disclosed?
CVE-2022-50998 was first published in the National Vulnerability Database on August 25, 2026, with the most recent update on August 28, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2022-50998 actively exploited?
CVE-2022-50998 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 72.3% of all scored CVEs.
What is the CVSS score of CVE-2022-50998?
CVE-2022-50998 has a CVSS v3 base score of 7.5 (NVD).
How do I remediate CVE-2022-50998?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2022-50998, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-50998

Explore →

Is Your Infrastructure Affected by CVE-2022-50998?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.