CVE Vulnerabilities

CVE-2025-24855

Use After Free

Published: Mar 14, 2025 | Modified: Nov 03, 2025
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.8 IMPORTANT
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
LibxsltXmlsoft*1.1.43 (excluding)
Red Hat Enterprise Linux 10RedHatlibxslt-0:1.1.39-7.el10_0*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatlibxslt-0:1.1.28-8.el7_9*
Red Hat Enterprise Linux 7 Extended Lifecycle SupportRedHatlibxslt-0:1.1.28-9.el7_9*
Red Hat Enterprise Linux 8RedHatlibxslt-0:1.1.32-6.1.el8_10*
Red Hat Enterprise Linux 8RedHatlibxslt-0:1.1.32-6.1.el8_10*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatlibxslt-0:1.1.32-6.el8_2*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatlibxslt-0:1.1.32-8.el8_4*
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRedHatlibxslt-0:1.1.32-8.el8_4*
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRedHatlibxslt-0:1.1.32-8.el8_4*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatlibxslt-0:1.1.32-8.el8_6*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatlibxslt-0:1.1.32-8.el8_6*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatlibxslt-0:1.1.32-8.el8_6*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatlibxslt-0:1.1.32-8.el8_8*
Red Hat Enterprise Linux 9RedHatlibxslt-0:1.1.34-9.el9_5.1*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatlibxslt-0:1.1.34-11.el9_0*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatlibxslt-0:1.1.34-10.el9_2*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatlibxslt-0:1.1.34-10.el9_4*
Red Hat OpenShift Container Platform 4.12RedHatrhcos-412.86.202505281830-0*
Red Hat OpenShift Container Platform 4.13RedHatrhcos-413.92.202505061702-0*
Red Hat OpenShift Container Platform 4.14RedHatrhcos-414.92.202505141057-0*
Red Hat OpenShift Container Platform 4.15RedHatrhcos-415.92.202504282058-0*
Red Hat OpenShift Container Platform 4.16RedHatrhcos-416.94.202505051351-0*
Red Hat OpenShift Container Platform 4.17RedHatrhcos-417.94.202504291434-0*
Red Hat OpenShift Container Platform 4.18RedHatrhcos-418.94.202504291430-0*
LibxsltUbuntudevel*
LibxsltUbuntuesm-infra-legacy/trusty*
LibxsltUbuntuesm-infra/bionic*
LibxsltUbuntuesm-infra/focal*
LibxsltUbuntuesm-infra/xenial*
LibxsltUbuntufocal*
LibxsltUbuntujammy*
LibxsltUbuntunoble*
LibxsltUbuntuoracular*
LibxsltUbuntuplucky*
LibxsltUbuntuupstream*

Potential Mitigations

References