Skip to content
Applications

CVE-2023-54354

HIGH
High
EPSS 0.35%Patch availableAug 26, 2026

Malformed XML Schema in Nokogiri/libxml2 allows NULL deref causing process crash (DoS).

common questions

Is CVE-2023-54354 being exploited?

Not confirmed. CVE-2023-54354 does not appear in CISA's Known Exploited Vulnerabilities catalog, which records only exploitation that has been observed and reported publicly. That is evidence of absence of a report, not evidence the flaw is unattacked. EPSS currently estimates a 0.35% probability of exploitation in the next 30 days.

How severe is CVE-2023-54354?

CVE-2023-54354 is rated High. Severity describes how bad exploitation would be, not how likely it is: pair it with exploitation evidence before deciding what to patch first.

Is there a patch for CVE-2023-54354?

Yes. A fix has been recorded for CVE-2023-54354. The vendor advisory is the authority on the exact fixed version — apply it from there rather than from a summary.

What does CVE-2023-54354 affect?

CVE-2023-54354 affects Nokogiri (CRuby) < 1.14.3 with packaged libxml2 v2.10.3, libxml2 v2.10.3, Ruby apps using the affected Nokogiri build. Confirm the exact affected versions against the vendor advisory before deciding you are exposed.

What should I do about CVE-2023-54354?

Upgrade Nokogiri to >=1.14.3 (libxml2 2.10.4) and validate/restrict XML schema inputs.

Exploitation status reflects CISA's KEV catalog as we last synced it. Check the catalog directly.

executive summary
technical analysis
affected
Nokogiri (CRuby) < 1.14.3 with packaged libxml2 v2.10.3libxml2 v2.10.3Ruby apps using the affected Nokogiri build
impact

Remote denial-of-service: crafted XML Schema triggers libxml2 NULL pointer deref via Nokogiri, causing segfaults and application crashes.

action required

Patch when possible

how to fix
Remediation steps are tailored for users whose stack is affected. Add this technology to your stack to see the fix checklist.
references
get alerted

Track only the vulnerabilities that affect your infrastructure.

start for free