CVE Catalog

CVE-2025-71406

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

8th percentile - higher than 8% of all known CVEs

Summary

Nokogiri before 1.18.4 bundles a vulnerable version of libxslt (prior to 1.1.43) with two use-after-free vulnerabilities: CVE-2025-24855 and CVE-2024-55549. Processing crafted XSLT can trigger memory corruption. Nokogiri 1.18.4 upgrades libxslt to 1.1.43.

Risk Assessment

An attacker can exploit these vulnerabilities to cause application crashes or potentially execute code, posing a serious threat to system integrity.

Recommendation

Upgrade Nokogiri to version 1.18.4 or later to get the patched libxslt.

Other vulnerabilities in Nokogiri

See all
Original NVD description (English source)

Nokogiri before 1.18.4 bundles a vulnerable version of libxslt (prior to 1.1.43) that contains two use-after-free vulnerabilities: CVE-2025-24855 (use-after-free of the XPath context node due to xsltEvalXPathStringNs leaking xpathCtxt->node) and CVE-2024-55549 (use-after-free related to excluded result prefixes/namespaces). Processing crafted XSLT can trigger memory corruption. Nokogiri 1.18.4 upgrades the bundled libxslt to 1.1.43 to resolve these issues.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS