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-59375

CVE-2025-59375: Libexpat DOS Vulnerability

CVE-2025-59375 is a denial of service vulnerability in Libexpat that allows attackers to trigger excessive memory allocation with minimal input. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-59375 Overview

CVE-2025-59375 is a Resource Exhaustion vulnerability affecting libexpat, the widely-used XML parsing library maintained by the libexpat project. The vulnerability allows remote attackers to trigger disproportionately large dynamic memory allocations by submitting specially crafted small XML documents for parsing. This memory exhaustion attack can lead to denial of service conditions on systems utilizing vulnerable versions of libexpat.

The vulnerability was identified through the OSS-Fuzz continuous fuzzing infrastructure and affects libexpat versions prior to 2.7.2. Given the widespread adoption of libexpat across numerous applications, operating systems, and embedded devices that require XML parsing capabilities, the potential impact of this vulnerability is significant.

Critical Impact

Attackers can exhaust system memory resources and cause denial of service by sending minimal XML payloads that trigger excessive memory allocation in vulnerable libexpat versions.

Affected Products

  • libexpat_project libexpat (versions prior to 2.7.2)

Discovery Timeline

  • 2025-09-15 - CVE CVE-2025-59375 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2025-59375

Vulnerability Analysis

This vulnerability is classified as CWE-770 (Allocation of Resources Without Limits or Throttling). The core issue lies in libexpat's handling of certain XML document structures that can cause the parser to allocate memory in a manner disproportionate to the input size.

When processing specific XML constructs, the parser fails to properly limit or validate the amount of memory being allocated relative to the actual document content. This creates an amplification scenario where a maliciously crafted XML document of minimal size can trigger memory allocations orders of magnitude larger than the input.

The vulnerability is network-exploitable, requiring no authentication or user interaction to trigger. Any application that parses untrusted XML content using a vulnerable version of libexpat could be affected.

Root Cause

The root cause stems from insufficient resource allocation controls within the XML parsing logic. The parser's memory allocation routines do not adequately constrain memory consumption relative to input document size, allowing attackers to craft inputs that maximize the ratio of allocated memory to document bytes. This design oversight enables a classic amplification-based denial of service attack.

Attack Vector

The attack can be executed remotely over the network by any unauthenticated attacker who can submit XML content for parsing. The attacker crafts a small, specially structured XML document designed to exploit the memory allocation amplification weakness.

When the target application parses this malicious document using a vulnerable version of libexpat, the library allocates excessive amounts of memory. This can rapidly consume available system resources, leading to application crashes, system instability, or complete denial of service for legitimate users.

The attack is particularly effective because the small document size means that rate-limiting or input size restrictions may not prevent exploitation. For detailed technical information about the vulnerability mechanism, see the GitHub Issue #1018 and OSS-Fuzz Issue #439133977.

Detection Methods for CVE-2025-59375

Indicators of Compromise

  • Unusual memory consumption spikes in processes utilizing libexpat for XML parsing
  • Application crashes or out-of-memory errors occurring during XML document processing
  • Abnormally small XML documents being submitted to XML parsing endpoints
  • Memory allocation failures logged by applications using libexpat

Detection Strategies

  • Monitor system and application memory usage patterns for sudden, unexplained increases correlated with XML processing activities
  • Implement application-level logging to track XML document sizes versus processing resource consumption
  • Deploy intrusion detection rules to identify patterns of small XML documents submitted in high volume to parsing endpoints
  • Use SentinelOne's behavioral AI to detect anomalous memory allocation patterns indicative of resource exhaustion attacks

Monitoring Recommendations

  • Enable memory profiling and alerting for applications that process XML from untrusted sources
  • Configure resource limits (cgroups, ulimits) on processes that use libexpat to contain potential memory exhaustion
  • Review application logs for patterns of XML parsing failures or memory-related errors
  • Implement endpoint monitoring to detect denial of service conditions affecting libexpat-dependent services

How to Mitigate CVE-2025-59375

Immediate Actions Required

  • Upgrade libexpat to version 2.7.2 or later immediately on all affected systems
  • Identify all applications and dependencies that utilize libexpat for XML parsing
  • Implement resource limits on processes that parse untrusted XML content
  • Review and restrict network access to XML parsing services where possible

Patch Information

The libexpat project has released version 2.7.2 which addresses this vulnerability. The fix was implemented via Pull Request #1034. Complete changelog information is available in the GitHub Version 2.7.2 Changes documentation.

Organizations should prioritize updating libexpat across all systems, including direct installations and applications that bundle the library. For additional context on the security fix, consult the OpenWall Security Discussion.

Workarounds

  • Implement strict memory limits on processes that perform XML parsing using cgroups or container resource constraints
  • Deploy input validation to reject or quarantine XML documents from untrusted sources pending review
  • Consider using application-level XML processing timeouts and resource quotas where supported
  • Isolate XML parsing services into separate processes or containers to limit blast radius
bash
# Configuration example - Limit memory for XML processing service
# Using systemd service limits
[Service]
MemoryLimit=512M
MemoryHigh=400M

# Using ulimit in shell scripts
ulimit -v 524288  # Limit virtual memory to 512MB

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibexpat

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • GitHub Changelog Entry

  • GitHub Version 2.7.2 Changes

  • GitHub Issue #1018

  • GitHub Pull Request #1034

  • OSS-Fuzz Issue #439133977

  • OpenWall Security Discussion
  • Related CVEs
  • CVE-2026-32777: Libexpat DOS Vulnerability

  • CVE-2023-52425: Libexpat DoS Vulnerability Explained

  • CVE-2022-25313: Libexpat DOS Vulnerability

  • CVE-2026-32778: Libexpat NULL Pointer Dereference Flaw
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