The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-24855

CVE-2025-24855: Libxslt Use-After-Free Vulnerability

CVE-2025-24855 is a use-after-free vulnerability in Xmlsoft Libxslt affecting nested XPath evaluations. Attackers can exploit this flaw to compromise system stability. This article covers technical details, affected versions, and mitigation.

Updated: January 22, 2026

CVE-2025-24855 Overview

CVE-2025-24855 is a use-after-free vulnerability in libxslt, the XSLT processing library developed by xmlsoft. The vulnerability exists in numbers.c and affects versions prior to 1.1.43. During nested XPath evaluations, an XPath context node can be modified but is never properly restored, leading to a use-after-free condition. This issue is related to several functions including xsltNumberFormatGetValue, xsltEvalXPathPredicate, xsltEvalXPathStringNs, and xsltComputeSortResultInternal.

Critical Impact

A local attacker with low privileges can potentially achieve arbitrary code execution, compromise data confidentiality and integrity, or cause application crashes through exploitation of this memory corruption vulnerability.

Affected Products

  • xmlsoft libxslt versions prior to 1.1.43

Discovery Timeline

  • 2025-03-14 - CVE-2025-24855 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-24855

Vulnerability Analysis

This use-after-free vulnerability (CWE-416) occurs within the XPath evaluation mechanism of libxslt. When processing nested XPath expressions, the library modifies the XPath context node during evaluation but fails to restore it to its original state afterward. This improper memory management creates a dangling pointer situation where the application may reference memory that has already been freed.

The vulnerability affects core XSLT transformation functions that handle numeric formatting and predicate evaluation. When a malicious XSLT stylesheet triggers specific nested XPath evaluation patterns, the corrupted context can lead to memory access violations, potentially allowing an attacker to execute arbitrary code or cause denial of service conditions.

Root Cause

The root cause lies in improper memory lifecycle management within libxslt's XPath evaluation routines. Specifically, when nested XPath evaluations occur, the context node is modified to facilitate the nested evaluation but the original context state is never properly saved and restored. This violates the expected memory safety invariants and results in the use of freed memory when subsequent operations attempt to access the original context.

The affected functions (xsltNumberFormatGetValue, xsltEvalXPathPredicate, xsltEvalXPathStringNs, and xsltComputeSortResultInternal) each interact with the XPath context in ways that can trigger this unsafe behavior when processing specially crafted input.

Attack Vector

The attack vector is local, requiring an attacker to have local access to the system with low-level privileges. The attacker must be able to provide a malicious XSLT stylesheet or XML document to an application that uses the vulnerable libxslt library for processing.

The vulnerability can be triggered when an application processes XSLT transformations containing nested XPath expressions that manipulate the context node in specific patterns. No user interaction is required once the malicious input is processed by the vulnerable library.

Detection Methods for CVE-2025-24855

Indicators of Compromise

  • Unexpected crashes or segmentation faults in applications using libxslt during XSLT transformation operations
  • Memory corruption errors logged by applications performing XML/XSLT processing
  • Abnormal memory access patterns detected by memory sanitizers (AddressSanitizer, Valgrind)
  • Presence of suspicious XSLT files with deeply nested XPath expressions on the system

Detection Strategies

  • Deploy memory safety tools (AddressSanitizer, Valgrind) in development and testing environments to detect use-after-free conditions
  • Monitor application logs for crashes related to libxslt functions, particularly xsltNumberFormatGetValue, xsltEvalXPathPredicate, xsltEvalXPathStringNs, and xsltComputeSortResultInternal
  • Implement file integrity monitoring for XSLT stylesheets in production environments
  • Use software composition analysis (SCA) tools to identify vulnerable libxslt versions in your software supply chain

Monitoring Recommendations

  • Enable crash dump collection for applications that process XSLT transformations
  • Implement logging for XSLT processing operations to track the source of potentially malicious input
  • Monitor for unusual patterns in XML/XSLT processing workloads that could indicate exploitation attempts
  • Set up alerts for segmentation faults or memory corruption errors in libxslt-dependent applications

How to Mitigate CVE-2025-24855

Immediate Actions Required

  • Update libxslt to version 1.1.43 or later immediately
  • Audit all systems and applications to identify instances of vulnerable libxslt versions
  • Review software dependencies for applications that bundle or statically link libxslt
  • Restrict processing of XSLT stylesheets from untrusted sources until patches are applied

Patch Information

The vulnerability has been addressed in libxslt version 1.1.43 and later. Organizations should prioritize upgrading to the patched version. Detailed information about the fix can be found in the GNOME libxslt Issue #128 tracker. Additional distribution-specific guidance is available via the Debian LTS Announcement.

Workarounds

  • Implement input validation to reject XSLT stylesheets from untrusted sources
  • Use application sandboxing to limit the impact of potential exploitation
  • Consider disabling XSLT transformation functionality if not required for business operations
  • Deploy memory protection mechanisms (ASLR, DEP) to make exploitation more difficult
bash
# Check installed libxslt version
xsltproc --version

# For Debian/Ubuntu systems, update libxslt
sudo apt-get update && sudo apt-get install libxslt1.1

# For RHEL/CentOS systems, update libxslt
sudo yum update libxslt

# Verify the updated version
xsltproc --version | grep "libxslt"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeUse After Free

  • Vendor/TechLibxslt

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Debian LTS Announcement
  • Vendor Resources
  • GNOME libxslt Issue #128
  • Related CVEs
  • CVE-2025-7425: libxslt Use-After-Free Vulnerability

  • CVE-2025-7424: Xmlsoft Libxslt DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English