Use After Free Affecting libxslt-python package, versions <0:1.1.28-6.amzn2.0.3


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.36% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-LIBXSLTPYTHON-9727450
  • published17 Apr 2025
  • disclosed14 Mar 2025

Introduced: 14 Mar 2025

CVE-2025-24855  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libxslt-python to version 0:1.1.28-6.amzn2.0.3 or higher.
This issue was patched in ALAS2-2025-2823.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxslt-python package and not the libxslt-python package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1