Jre: 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… (CVE-2025-24855)
A use-after-free vulnerability exists in numbers.c of libxslt before version 1.1.43. This occurs during nested XPath evaluations where the XPath context node can be modified but not restored, affecting functions such as xsltNumberFormatGetValue and xsltEvalXPathPredicate. The vulnerability has been assigned CVE-2025-24855 and is rated as high severity. A patch is available from Red Hat and other vendors to address this issue.
AI Analysis
Technical Summary
CVE-2025-24855 describes a use-after-free vulnerability in libxslt's numbers.c component prior to version 1.1.43. The flaw arises because, during nested XPath evaluations, the XPath context node is modified but never restored, leading to potential memory corruption. The affected functions include xsltNumberFormatGetValue, xsltEvalXPathPredicate, xsltEvalXPathStringNs, and xsltComputeSortResultInternal. Red Hat has issued an advisory and released patches to fix this vulnerability in their Enterprise Linux distributions.
Potential Impact
The vulnerability can lead to use-after-free conditions, which may cause application crashes or potentially allow execution of arbitrary code if exploited. The issue affects XML transformations using libxslt, which could impact applications relying on this library for XML processing. No known exploits are reported in the wild at this time.
Mitigation Recommendations
A security update fixing this use-after-free vulnerability is available and should be applied promptly. Red Hat has released patches for affected versions of Red Hat Enterprise Linux 9 and related variants. Users should follow the vendor's update instructions at https://access.redhat.com/articles/11258 to remediate this issue. No additional mitigations are indicated by the vendor advisory.
Jre: 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… (CVE-2025-24855)
Description
A use-after-free vulnerability exists in numbers.c of libxslt before version 1.1.43. This occurs during nested XPath evaluations where the XPath context node can be modified but not restored, affecting functions such as xsltNumberFormatGetValue and xsltEvalXPathPredicate. The vulnerability has been assigned CVE-2025-24855 and is rated as high severity. A patch is available from Red Hat and other vendors to address this issue.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-24855 describes a use-after-free vulnerability in libxslt's numbers.c component prior to version 1.1.43. The flaw arises because, during nested XPath evaluations, the XPath context node is modified but never restored, leading to potential memory corruption. The affected functions include xsltNumberFormatGetValue, xsltEvalXPathPredicate, xsltEvalXPathStringNs, and xsltComputeSortResultInternal. Red Hat has issued an advisory and released patches to fix this vulnerability in their Enterprise Linux distributions.
Potential Impact
The vulnerability can lead to use-after-free conditions, which may cause application crashes or potentially allow execution of arbitrary code if exploited. The issue affects XML transformations using libxslt, which could impact applications relying on this library for XML processing. No known exploits are reported in the wild at this time.
Mitigation Recommendations
A security update fixing this use-after-free vulnerability is available and should be applied promptly. Red Hat has released patches for affected versions of Red Hat Enterprise Linux 9 and related variants. Users should follow the vendor's update instructions at https://access.redhat.com/articles/11258 to remediate this issue. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2025:3528
- Cve Count
- 1
- State
- PUBLISHED
Threat ID: 6a535bff68715ace43ad5292
Added to database: 07/12/2026, 09:18:55 UTC
Last enriched: 09/10/2026, 23:01:47 UTC
Last updated: 09/10/2026, 23:01:47 UTC
Views: 80
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.