CVE-2025-24855

libxslt: Use-After-Free in libxslt numbers.c

Published Mar 14, 2025 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4089-1 libxslt security update
Debian DSA Debian DSA DSA-5884-1 libxslt security update
EUVD EUVD EUVD-2025-7659 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.
Ubuntu USN Ubuntu USN USN-7361-1 Libxslt vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Xmlsoft
Xmlsoft libxslt
CPEs cpe:2.3:a:xmlsoft:libxslt:*:*:*:*:*:*:*:*
Vendors & Products Xmlsoft
Xmlsoft libxslt
Type Values Removed Values Added
Metrics epss

{'score': 6e-05}

epss

{'score': 7e-05}

Type Values Removed Values Added
Metrics epss

{'score': 5e-05}

epss

{'score': 6e-05}

Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.12::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.14::el9
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.13::el9
cpe:/a:redhat:openshift:4.16::el9
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10.0
Type Values Removed Values Added
First Time appeared Redhat openshift
CPEs cpe:/a:redhat:openshift:4.15::el9
cpe:/a:redhat:openshift:4.17::el9
cpe:/a:redhat:openshift:4.18::el9
Vendors & Products Redhat openshift
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Els
Redhat rhel Tus
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:rhel_aus:8.2
cpe:/a:redhat:rhel_aus:8.4
cpe:/a:redhat:rhel_aus:8.6
cpe:/a:redhat:rhel_e4s:8.4
cpe:/a:redhat:rhel_e4s:8.6
cpe:/a:redhat:rhel_e4s:9.0
cpe:/a:redhat:rhel_eus:8.8
cpe:/a:redhat:rhel_tus:8.4
cpe:/a:redhat:rhel_tus:8.6
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Aus
Redhat rhel E4s
Redhat rhel Els
Redhat rhel Tus
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_eus:9.2
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.4
Vendors & Products Redhat rhel Eus
Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
Title libxslt: Use-After-Free in libxslt numbers.c
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Feb 26, 2026, 7:09 PM
Reserved
Jan 26, 2025, 12:00 AM
Status
Modified
Published
Mar 14, 2025, 2:15 AM
Modified
Jun 17, 2026, 8:59 AM
Severity
Important
Public date
Mar 14, 2025, 12:00 AM