CVE Catalog

CVE-2025-24855

Medium
Published: Translated: NVD NIST

Summary

In libxslt before 1.1.43, numbers.c has a use-after-free because in nested XPath evaluations, an XPath context node can be modified but never restored. Affects xsltNumberFormatGetValue, xsltEvalXPathPredicate, xsltEvalXPathStringNs, and xsltComputeSortResultInternal.

Risk Assessment

An attacker could exploit this to execute arbitrary code or crash applications processing XSLT transformations.

Recommendation

Update libxslt to version 1.1.43 or later.

Original NVD description (English source)

numbers.c in libxslt before 1.1.43 has a use-after-free because, in nested XPath evaluations, an XPath context node can be modified but never restored. This is related to xsltNumberFormatGetValue, xsltEvalXPathPredicate, xsltEvalXPathStringNs, and xsltComputeSortResultInternal.

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