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
    • 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-2026-45186

CVE-2026-45186: Libexpat DOS Vulnerability

CVE-2026-45186 is a denial of service vulnerability in Libexpat caused by inefficient attribute name collision checks. Attackers can exploit this with crafted XML to cause service disruption. This article covers technical details, affected versions, impact, and mitigation.

Published: May 18, 2026

CVE-2026-45186 Overview

CVE-2026-45186 is a denial of service vulnerability in libexpat versions prior to 2.8.1. The flaw exists in the computational complexity of attribute name collision checks within the XML parser. An attacker can submit moderately sized crafted XML input to trigger excessive CPU consumption. The vulnerability is classified under [CWE-407] (Inefficient Algorithmic Complexity) and is exploitable over the network without authentication or user interaction. Libexpat is a widely deployed C library used by browsers, language runtimes, and system utilities to parse XML, making the impact broad across downstream consumers.

Critical Impact

Remote attackers can cause denial of service in any application linking libexpat by submitting small, specially crafted XML documents that exhaust CPU resources during attribute name collision checking.

Affected Products

  • libexpat versions prior to 2.8.1
  • Applications and language runtimes embedding vulnerable libexpat builds
  • Linux distributions and operating systems shipping libexpat as a system library

Discovery Timeline

  • 2026-05-10 - CVE-2026-45186 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-45186

Vulnerability Analysis

The vulnerability is an algorithmic complexity flaw in libexpat's XML attribute processing path. When parsing element start tags, libexpat must verify that no two attributes within the same element share a name. In versions before 2.8.1, the collision-check routine scales poorly as the number of attributes grows. An attacker can craft an element containing many attributes whose names share prefixes or trigger worst-case comparisons. The parser then performs an excessive number of string comparisons, consuming CPU time disproportionate to input size. Because the input itself remains moderately sized, the attack does not require large payloads or bandwidth. Applications that parse untrusted XML, including SOAP services, configuration handlers, RSS readers, and document processors, can be rendered unresponsive.

Root Cause

The root cause is inefficient algorithmic design in the attribute collision check. The check exhibits non-linear time complexity relative to attribute count, allowing crafted input to dominate parser execution time. The upstream fix introduced through the libexpat pull request #1216 restructures this comparison logic to bound the runtime cost.

Attack Vector

Exploitation requires only the ability to deliver XML input to a process linked against vulnerable libexpat. The attacker submits a crafted XML document containing an element with a specifically chosen set of attribute names. The parser enters the collision-check routine and consumes CPU cycles until the request completes or times out. No authentication, privileges, or user interaction are required. Repeated submissions can sustain a denial of service condition against XML-parsing endpoints such as web services, mail filters, or document ingestion pipelines.

No verified proof-of-concept code is publicly available. See the OpenWall OSS Security disclosure and the libexpat pull request #1216 for technical details on the fix.

Detection Methods for CVE-2026-45186

Indicators of Compromise

  • Sustained high CPU utilization in processes performing XML parsing without corresponding throughput increase
  • HTTP requests containing XML payloads with unusually high attribute counts per element
  • Timeouts or worker exhaustion in SOAP, XML-RPC, or REST endpoints accepting XML bodies
  • Repeated submissions of small XML documents from a single source coinciding with service degradation

Detection Strategies

  • Inventory all binaries and packages linking libexpat and compare installed versions against 2.8.1
  • Inspect XML traffic at application gateways for elements containing excessive attributes
  • Profile CPU time spent inside libexpat symbols during request processing to identify hotspots
  • Monitor application logs for parser timeouts, aborted requests, or watchdog terminations on XML handlers

Monitoring Recommendations

  • Establish baselines for CPU consumption of XML-parsing services and alert on sustained deviations
  • Track request duration percentiles for XML endpoints and flag long-tail latency spikes
  • Correlate source IP, request rate, and parser CPU time to identify abuse patterns

How to Mitigate CVE-2026-45186

Immediate Actions Required

  • Upgrade libexpat to version 2.8.1 or later across all systems and container images
  • Identify embedded copies of libexpat in third-party software and apply vendor updates as they become available
  • Apply request size and attribute count limits at API gateways handling untrusted XML
  • Rebuild and redeploy applications that statically link libexpat against the patched library

Patch Information

The fix is upstream in libexpat 2.8.1. The corrective change is tracked in the libexpat pull request #1216, which restructures the attribute name collision check to eliminate the algorithmic complexity issue. Linux distribution maintainers are publishing backports; consult distribution security advisories for package-specific versions.

Workarounds

  • Enforce strict input size and attribute-per-element limits in front of XML parsers when patching is not immediately possible
  • Place CPU and memory cgroup limits on processes handling untrusted XML to contain resource exhaustion
  • Disable XML interfaces that are not required by the application
  • Route untrusted XML through a hardened pre-parser or schema validator that rejects malformed or excessive structures
bash
# Verify installed libexpat version on Debian/Ubuntu
dpkg -l | grep libexpat

# Verify on RHEL/CentOS/Fedora
rpm -q expat

# Upgrade examples
sudo apt-get update && sudo apt-get install --only-upgrade libexpat1
sudo dnf update expat

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

  • 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-407
  • Technical References
  • OpenWall OSS Security Mailing List
  • Vendor Resources
  • GitHub Pull Request
  • Related CVEs
  • CVE-2026-32777: Libexpat DOS Vulnerability

  • CVE-2025-59375: Libexpat DOS Vulnerability

  • CVE-2023-52425: Libexpat DOS Vulnerability

  • CVE-2022-25313: Libexpat DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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