Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-7425

CVE-2025-7425: libxslt Use-After-Free Vulnerability

CVE-2025-7425 is a use-after-free vulnerability in libxslt that corrupts memory management during XSLT processing. Attackers can exploit this to cause crashes or trigger heap corruption. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-7425 Overview

A use-after-free vulnerability has been identified in libxslt, the XSLT C library for GNOME. The flaw exists in how attribute type (atype) flags are modified during XSLT processing, leading to corruption of internal memory management structures. When XSLT functions such as key() process result tree fragments, this corruption prevents the proper cleanup of ID attributes. As a result, the system may access freed memory, causing application crashes or enabling attackers to trigger heap corruption that could potentially lead to code execution.

Critical Impact

This use-after-free vulnerability in libxslt can cause system crashes and potentially enable heap corruption attacks on systems processing malicious XSLT stylesheets.

Affected Products

  • libxslt (GNOME XSLT C Library)
  • Red Hat Enterprise Linux distributions with libxslt
  • Debian Linux distributions with libxslt

Discovery Timeline

  • 2025-07-10 - CVE-2025-7425 published to NVD
  • 2025-11-22 - Last updated in NVD database

Technical Details for CVE-2025-7425

Vulnerability Analysis

This vulnerability is classified as CWE-416 (Use After Free), a memory corruption issue that occurs when a program continues to use a pointer after the memory it references has been freed. In the context of libxslt, the vulnerability manifests within the XSLT processing engine when handling tree fragments generated by functions like key().

The core issue involves improper modification of attribute type flags (atype) during XSLT transformation operations. When these flags are incorrectly modified, the internal memory management system loses track of which ID attributes need to be cleaned up. This leads to a scenario where the library attempts to access memory regions that have already been deallocated.

Successful exploitation requires local access and some complexity in crafting the malicious input, but no user interaction or special privileges are needed. The impact can extend beyond the vulnerable component's boundaries, potentially affecting the confidentiality and availability of the entire system.

Root Cause

The root cause lies in the improper handling of attribute type flags within libxslt's memory management subsystem. When XSLT functions process tree fragments, the atype flags that track ID attributes are modified in a way that corrupts the internal state. This corruption breaks the reference counting or ownership tracking mechanism, preventing proper memory deallocation during cleanup operations.

Specifically, when the key() function generates result tree fragments, the attribute metadata is not correctly preserved through the transformation pipeline. This causes dangling pointers to persist after the associated memory has been freed, creating the use-after-free condition.

Attack Vector

The attack vector for this vulnerability requires local access to the target system. An attacker would need to craft a malicious XSLT stylesheet designed to trigger the specific code path where the atype flags are corrupted. The attack scenario typically involves:

  1. Crafting an XSLT stylesheet that uses the key() function to generate result tree fragments with specific ID attribute patterns
  2. Processing the malicious stylesheet against an XML document on the target system
  3. Triggering the memory corruption during the cleanup phase of XSLT processing
  4. Exploiting the use-after-free condition to cause denial of service or potentially achieve more severe impacts

The vulnerability can be triggered through any application that uses libxslt for XSLT transformations when processing untrusted stylesheets. Technical details are available in the GNOME libxslt Issue #140 and Red Hat Bugzilla Entry #2379274.

Detection Methods for CVE-2025-7425

Indicators of Compromise

  • Unexpected application crashes in processes using libxslt for XSLT transformations
  • Segmentation faults or memory access violations in libxslt-dependent applications
  • Core dumps indicating heap corruption or use-after-free patterns in libxslt code paths
  • Unusual XSLT files containing complex key() function usage patterns

Detection Strategies

  • Monitor for abnormal termination of applications that rely on libxslt for XML/XSLT processing
  • Implement memory debugging tools (AddressSanitizer, Valgrind) in development and testing environments to detect use-after-free conditions
  • Review system logs for repeated segmentation faults in processes linked against libxslt
  • Deploy SentinelOne Singularity to detect memory corruption exploitation attempts and anomalous process behavior

Monitoring Recommendations

  • Enable process crash monitoring for applications using libxslt libraries
  • Track libxslt package versions across your infrastructure to identify unpatched systems
  • Monitor file system activity for suspicious XSLT files being created or modified
  • Implement application-level logging for XSLT transformation operations to detect unusual patterns

How to Mitigate CVE-2025-7425

Immediate Actions Required

  • Inventory all systems running applications that depend on libxslt
  • Apply security patches from your Linux distribution vendor immediately
  • Restrict processing of untrusted XSLT stylesheets until patches are applied
  • Consider implementing application-level sandboxing for XSLT processing workloads

Patch Information

Multiple vendors have released security patches to address this vulnerability. Red Hat has issued numerous security advisories including RHSA-2025:12447, RHSA-2025:12450, and many others covering various Red Hat Enterprise Linux versions. Debian has also released patches as documented in their LTS security announcement.

For detailed CVE information and patch links specific to Red Hat systems, refer to the Red Hat CVE Details page for CVE-2025-7425.

Workarounds

  • Disable XSLT processing functionality in applications where it is not strictly required
  • Implement input validation to reject untrusted or externally-sourced XSLT stylesheets
  • Run XSLT processing in isolated environments with restricted memory access
  • Use application containers with memory limits to contain potential exploitation impacts
bash
# Check installed libxslt version on Red Hat/CentOS systems
rpm -qa | grep libxslt

# Check installed libxslt version on Debian/Ubuntu systems
dpkg -l | grep libxslt

# Update libxslt to patched version (Red Hat/CentOS)
sudo dnf update libxslt

# Update libxslt to patched version (Debian/Ubuntu)
sudo apt-get update && sudo apt-get upgrade libxslt1.1

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.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-416
  • Technical References
  • Red Hat Security Advisory RHSA-2025:12447

  • Red Hat Security Advisory RHSA-2025:12450

  • Red Hat Security Advisory RHSA-2025:13267

  • Red Hat Security Advisory RHSA-2025:13308

  • Red Hat Security Advisory RHSA-2025:13309

  • Red Hat Security Advisory RHSA-2025:13310

  • Red Hat Security Advisory RHSA-2025:13311

  • Red Hat Security Advisory RHSA-2025:13312

  • Red Hat Security Advisory RHSA-2025:13313

  • Red Hat Security Advisory RHSA-2025:13314

  • Red Hat Security Advisory RHSA-2025:13335

  • Red Hat Security Advisory RHSA-2025:13464

  • Red Hat Security Advisory RHSA-2025:13622

  • Red Hat Security Advisory RHSA-2025:14059

  • Red Hat Security Advisory RHSA-2025:14396

  • Red Hat Security Advisory RHSA-2025:14818

  • Red Hat Security Advisory RHSA-2025:14819

  • Red Hat Security Advisory RHSA-2025:14853

  • Red Hat Security Advisory RHSA-2025:14858

  • Red Hat Security Advisory RHSA-2025:15308

  • Red Hat Security Advisory RHSA-2025:15672

  • Red Hat Security Advisory RHSA-2025:15827

  • Red Hat Security Advisory RHSA-2025:15828

  • Red Hat Security Advisory RHSA-2025:18219

  • Red Hat Security Advisory RHSA-2025:21885

  • Red Hat Security Advisory RHSA-2025:21913

  • Red Hat CVE Details CVE-2025-7425

  • Red Hat Bugzilla Entry #2379274

  • GNOME libxslt Issue #140

  • Full Disclosure August 2025

  • Full Disclosure July 30 2025

  • Full Disclosure July 32 2025

  • Full Disclosure July 35 2025

  • Full Disclosure July 37 2025

  • OpenWall OSS Security July 11 2025

  • Debian LTS Announce September 2025
  • Related CVEs
  • CVE-2025-24855: 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