SYS::ONLINE
Wasteland.
Briefs2256
Issues25
SinceFeb 2026
LIVE
⚡ Active KEV CVE-2022-51000 2026-08-25

CVE-2022-51000: Nokogiri Ships Vulnerable Vendored libxml2 and libxslt

"Nokogiri versions before 1.13.2 (CRuby, using packaged libraries) bundle outdated libxml2 and libxslt builds carrying two upstream vulnerabilities, rated CVSS 9.8 CRITICAL by the assigning CNA."

Nokogiri versions before 1.13.2 (CRuby, using packaged libraries) bundle outdated libxml2 and libxslt builds carrying two upstream vulnerabilities, rated CVSS 9.8 CRITICAL by the assigning CNA.

What Is It

CVE-2022-51000 tracks Nokogiri's exposure to two upstream flaws inherited through its vendored dependencies. Nokogiri before 1.13.2 ships libxml2 2.9.12 and libxslt 1.1.34, both of which are affected:

The weakness is classified as CWE-416 (Use After Free).

Why It Matters

The CNA-supplied CVSS 3.1 base score is 9.8 (CRITICAL) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, network-reachable, low complexity, no privileges, and no user interaction required, with high confidentiality, integrity, and availability impact. A CVSS 4.0 score of 9.3 (CRITICAL) is also recorded. Both figures come from the CVE record itself; NVD has not yet published its own analysis or an authoritative NVD-assigned score for this CVE, so the severity should be treated as provisional and subject to change on enrichment.

The practical concern is reach: Nokogiri is one of the most widely deployed XML/HTML parsing gems in the Ruby ecosystem, and the vulnerable code is vendored rather than pulled from the system, so patching the host's libxml2 does not remediate it.

CVE-2022-51000 does not appear in the CISA Known Exploited Vulnerabilities catalog, so active exploitation is not confirmed.

What's Vulnerable

Patch Status

Patched. Nokogiri 1.13.2 upgrades the vendored libxml2 to 2.9.13 and libxslt to 1.1.35. Upgrade the gem to 1.13.2 or later. No KEV-mandated remediation deadline applies, as the CVE is absent from the CISA Known Exploited Vulnerabilities catalog. The CVE record was published 2026-08-25 and its NVD status is currently "Received."

Sources