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

CVE-2025-49795: libxml2 NULL Pointer DoS Vulnerability

CVE-2025-49795 is a NULL pointer dereference denial of service vulnerability in libxml2 when processing XPath expressions. Attackers can exploit this to crash applications. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-49795 Overview

A NULL pointer dereference vulnerability was discovered in libxml2, a widely-used XML parsing library, when processing XPath XML expressions. This flaw allows an attacker to craft a malicious XML input that triggers a NULL pointer dereference condition, resulting in a denial of service (DoS). The vulnerability affects applications that rely on libxml2 for XML parsing and XPath evaluation, potentially impacting system availability across numerous Linux distributions and applications that depend on this fundamental library.

Critical Impact

Remote attackers can cause application crashes and denial of service by submitting specially crafted XML documents containing malicious XPath expressions to vulnerable libxml2 implementations.

Affected Products

  • libxml2 (all versions prior to patched releases)
  • Red Hat Enterprise Linux and related distributions
  • Applications utilizing libxml2 for XML parsing

Discovery Timeline

  • 2025-06-16 - CVE-2025-49795 published to NVD
  • 2025-10-27 - Last updated in NVD database

Technical Details for CVE-2025-49795

Vulnerability Analysis

This vulnerability is classified as CWE-825 (Expired Pointer Dereference), manifesting specifically as a NULL pointer dereference condition. The flaw resides in libxml2's XPath expression processing logic, where certain malformed or edge-case XML inputs can cause the parser to attempt dereferencing a NULL pointer. When triggered, this results in an immediate application crash, causing denial of service for any system or application dependent on libxml2 for XML processing.

The vulnerability can be exploited remotely over a network without requiring authentication or user interaction. An attacker simply needs to submit a crafted XML document to an application that processes it using libxml2's XPath functionality. The attack does not compromise data confidentiality or integrity, but directly impacts system availability.

Root Cause

The root cause stems from insufficient validation of pointer states during XPath expression evaluation in libxml2. When processing certain XPath XML expressions, the code fails to properly verify that a pointer is valid before attempting to dereference it. This missing NULL check allows an attacker to construct XML input that leads the parser into a code path where a NULL pointer is dereferenced, causing a segmentation fault and application termination.

Attack Vector

The attack vector is network-based, allowing remote exploitation. An attacker can exploit this vulnerability by:

  1. Crafting a malicious XML document containing specially constructed XPath expressions
  2. Submitting the document to any application that uses libxml2 for XML parsing
  3. The vulnerable XPath processing code encounters the malformed input
  4. A NULL pointer dereference occurs, crashing the application
  5. Service availability is disrupted until the application is restarted

This vulnerability is particularly concerning for web services, APIs, and other network-facing applications that accept and process XML input, as they become susceptible to remote denial of service attacks.

Detection Methods for CVE-2025-49795

Indicators of Compromise

  • Unexpected application crashes in processes using libxml2 for XML parsing
  • Segmentation fault errors in system logs associated with XML processing components
  • Increased frequency of service restarts for applications handling XML data
  • Core dump files indicating crashes within libxml2 XPath evaluation functions

Detection Strategies

  • Monitor application logs for segmentation faults and abnormal termination events in XML processing services
  • Implement input validation to detect and reject malformed XML documents before they reach libxml2
  • Deploy intrusion detection rules to identify suspicious XML payloads targeting XPath processing
  • Use application crash monitoring to detect patterns of repeated failures in XML-handling services

Monitoring Recommendations

  • Enable detailed logging for all XML parsing operations to capture potential exploitation attempts
  • Configure crash reporting to alert security teams when libxml2-dependent applications terminate unexpectedly
  • Implement rate limiting on XML input endpoints to mitigate potential DoS attack amplification
  • Monitor system resource usage for signs of repeated service restarts indicating ongoing exploitation

How to Mitigate CVE-2025-49795

Immediate Actions Required

  • Update libxml2 to the latest patched version available for your distribution
  • Apply Red Hat security updates RHSA-2025:10630 and RHSA-2025:19020 if using RHEL-based systems
  • Review and audit all applications that process XML input using libxml2
  • Implement input validation to reject suspicious or malformed XML documents at the application layer

Patch Information

Red Hat has released security advisories addressing this vulnerability. Affected systems should apply the appropriate patches:

  • Red Hat Security Advisory RHSA-2025:10630
  • Red Hat Security Advisory RHSA-2025:19020

For detailed vulnerability information, refer to the Red Hat CVE Record CVE-2025-49795 and Red Hat Bug Report #2372379.

Workarounds

  • Implement application-level XML validation to sanitize input before passing to libxml2
  • Deploy a web application firewall (WAF) with rules to filter potentially malicious XML payloads
  • Restrict XML processing to trusted sources where possible to reduce attack surface
  • Consider implementing process isolation for XML parsing to contain crash impact
bash
# Example: Update libxml2 on RHEL/CentOS systems
sudo yum update libxml2

# Example: Update libxml2 on Debian/Ubuntu systems
sudo apt-get update && sudo apt-get upgrade libxml2

# Verify installed libxml2 version
rpm -q libxml2  # RHEL/CentOS
dpkg -l libxml2 # Debian/Ubuntu

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibxml2

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.16%

  • 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-825
  • Technical References
  • Red Hat Security Advisory RHSA-2025:10630

  • Red Hat Security Advisory RHSA-2025:19020

  • Red Hat CVE Record CVE-2025-49795

  • Red Hat Bug Report #2372379
  • Related CVEs
  • CVE-2026-1757: xmllint libxml2 DoS Vulnerability

  • CVE-2026-0990: libxml2 Denial of Service Vulnerability

  • CVE-2026-0989: libxml2 RelaxNG Parser DoS Vulnerability

  • CVE-2026-0992: libxml2 Library 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