Skip to content
Applications

CVE-2025-71407

9.3
Critical
EPSS n/aPatch availableAug 26, 2026

Stack overflow and use-after-free in Nokogiri (libxml2) enabling DoS or possible RCE via crafted XML.

common questions

Is CVE-2025-71407 being exploited?

Not confirmed. CVE-2025-71407 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.

How severe is CVE-2025-71407?

CVE-2025-71407 is rated Critical with a CVSS score of 9.3. 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-2025-71407?

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

What does CVE-2025-71407 affect?

CVE-2025-71407 affects Nokogiri < 1.18.3, Ruby applications using Nokogiri, Services parsing untrusted XML/DTD/XSD. Confirm the exact affected versions against the vendor advisory before deciding you are exposed.

What should I do about CVE-2025-71407?

Upgrade Nokogiri to >=1.18.3; block untrusted XML and disable DTD/XSD validation where possible.

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

executive summary
technical analysis
affected
Nokogiri < 1.18.3Ruby applications using NokogiriServices parsing untrusted XML/DTD/XSD
impact

Crafted DTD or untrusted XSD can trigger stack buffer overflow or use-after-free during XML validation, causing denial of service or potential remote code execution.

action required

Immediate action required

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