Vulnerability · Published Mar 14, 2025 · Assigned by mitre

CVE-2025-24855

High 7.8

In plain English

A high-severity use-after-free in libxslt from xmlsoft. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.4%top 70.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10libxslt1.1.39-7.el10_0ALSA-2025:7496
AlmaLinux:8libxslt1.1.32-6.1.el8_10ALSA-2025:3615
AlmaLinux:9libxslt1.1.34-9.el9_5.1ALSA-2025:3107
AlmaLinux:10libxslt-devel1.1.39-7.el10_0ALSA-2025:7496
AlmaLinux:8libxslt-devel1.1.32-6.1.el8_10ALSA-2025:3615
AlmaLinux:9libxslt-devel1.1.34-9.el9_5.1ALSA-2025:3107
Alpine:v3.20libxslt1.1.39-r2ALPINE-CVE-2025-24855
Alpine:v3.21libxslt1.1.42-r2ALPINE-CVE-2025-24855
Alpine:v3.22libxslt1.1.43-r0ALPINE-CVE-2025-24855
Alpine:v3.23libxslt1.1.43-r0ALPINE-CVE-2025-24855
Alpine:v3.24libxslt1.1.43-r0ALPINE-CVE-2025-24855
Alpine:v3.21qt5-qtwebengine5.15.17-r7ALPINE-CVE-2025-24855
Alpine:v3.22qt5-qtwebengine5.15.17-r10ALPINE-CVE-2025-24855
Alpine:v3.23qt5-qtwebengine5.15.17-r10ALPINE-CVE-2025-24855
Alpine:v3.22qt6-qtwebengine6.8.2-r3ALPINE-CVE-2025-24855
Alpine:v3.23qt6-qtwebengine6.8.2-r3ALPINE-CVE-2025-24855
Alpine:v3.24qt6-qtwebengine6.8.2-r3ALPINE-CVE-2025-24855
Debian:12libxslt1.1.35-1+deb12u1DSA-5884-1
Debian:12libxslt1.1.35-1+deb12u1DEBIAN-CVE-2025-24855
Debian:13libxslt1.1.35-1.2DEBIAN-CVE-2025-24855
Debian:14libxslt1.1.35-1.2DEBIAN-CVE-2025-24855
Rocky Linux:10libxslt0:1.1.39-7.el10_0RLSA-2025:7496
Rocky Linux:8libxslt0:1.1.32-6.1.el8_10RLSA-2025:3615
Ubuntu:22.04:LTSlibxslt1.1.34-4ubuntu0.22.04.3USN-7361-1
Ubuntu:22.04:LTSlibxslt1.1.34-4ubuntu0.22.04.3UBUNTU-CVE-2025-24855
Ubuntu:24.04:LTSlibxslt1.1.39-0exp1ubuntu0.24.04.2UBUNTU-CVE-2025-24855
Ubuntu:24.04:LTSlibxslt1.1.39-0exp1ubuntu0.24.04.2USN-7361-1

Affected products (as reported)

VendorProductVersions
xmlsoft libxslt 0 – before 1.1.43

Weakness: CWE-416 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H

References