Use After Free Affecting libxslt-debugsource package, versions <0:1.1.43-1.amzn2023.0.1


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-AMZN2023-LIBXSLTDEBUGSOURCE-9598348
  • published2 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:2023 libxslt-debugsource to version 0:1.1.43-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-909.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxslt-debugsource package and not the libxslt-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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