A Leader in the 2025 Gartner® Magic Quadrant™ for Endpoint Protection Platforms. Five years running.A Leader in the Gartner® Magic Quadrant™Read the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI Security Portfolio
      Leading the Way in AI-Powered Security Solutions
    • 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
    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
    Identity Security
    • Singularity Identity
      Identity Threat Detection and Response
  • 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
      Digital Forensics, IRR & Breach Readiness
    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
    • 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-2024-45490

CVE-2024-45490: Libexpat XXE Vulnerability

CVE-2024-45490 is an XXE flaw in Libexpat where xmlparse.c fails to reject negative lengths for XML_ParseBuffer, potentially enabling XML External Entity attacks. This article covers technical details, affected versions, impact, and mitigation.

Published: January 28, 2026

CVE-2024-45490 Overview

An issue was discovered in libexpat before version 2.6.3 where the xmlparse.c file does not reject a negative length for XML_ParseBuffer. This input validation vulnerability allows attackers to potentially trigger unexpected behavior in applications that rely on the libexpat XML parsing library by supplying a negative length parameter.

Critical Impact

This vulnerability can be exploited remotely over the network without authentication to cause denial of service conditions in applications using vulnerable versions of libexpat.

Affected Products

  • libexpat versions prior to 2.6.3
  • Applications and systems that depend on the libexpat XML parsing library
  • Various Linux distributions including Debian that ship with vulnerable libexpat versions

Discovery Timeline

  • 2024-08-30 - CVE-2024-45490 published to NVD
  • 2025-11-04 - Last updated in NVD database

Technical Details for CVE-2024-45490

Vulnerability Analysis

This vulnerability exists in the xmlparse.c component of the libexpat XML parsing library. The core issue is an input validation flaw where the XML_ParseBuffer function fails to properly validate its length parameter, allowing negative values to be accepted. When a negative length is passed to this function, it can lead to integer overflow conditions or other undefined behavior that results in denial of service.

The vulnerability is classified under CWE-190 (Integer Overflow or Wraparound) and CWE-611 (Improper Restriction of XML External Entity Reference). The integer overflow weakness is particularly relevant here as the negative length parameter can wrap around to a very large positive value when interpreted as an unsigned integer internally, leading to memory access issues.

Root Cause

The root cause of CVE-2024-45490 is insufficient input validation in the XML_ParseBuffer function within xmlparse.c. The function does not include proper bounds checking to reject negative length values before processing. This oversight allows maliciously crafted input to bypass expected constraints and trigger integer overflow conditions.

Proper input validation should verify that the length parameter is non-negative before any further processing occurs. The absence of this check creates a pathway for attackers to manipulate buffer operations in unexpected ways.

Attack Vector

The attack vector for this vulnerability is network-based, requiring no privileges or user interaction to exploit. An attacker can remotely target applications that use libexpat for XML parsing by supplying specially crafted input that causes XML_ParseBuffer to be called with a negative length parameter.

The exploitation flow involves:

  1. Identifying a target application that uses libexpat for XML parsing
  2. Crafting malicious input that triggers a call to XML_ParseBuffer with a negative length
  3. Sending the payload to the target over the network
  4. The negative length causes integer overflow or unexpected behavior, resulting in denial of service

Technical details about the vulnerability mechanism can be found in the GitHub Issue #887 and the corresponding pull request #890 that addresses the fix.

Detection Methods for CVE-2024-45490

Indicators of Compromise

  • Unexpected application crashes or restarts in services that utilize XML parsing functionality
  • Abnormal memory consumption patterns in processes using libexpat
  • Log entries indicating XML parsing failures or buffer-related errors
  • Unusual network traffic patterns targeting XML processing endpoints

Detection Strategies

  • Implement version scanning to identify systems running libexpat versions prior to 2.6.3
  • Monitor application logs for XML parsing errors or unexpected buffer operation failures
  • Deploy network intrusion detection signatures to identify potentially malicious XML payloads
  • Use software composition analysis (SCA) tools to track libexpat dependencies across your infrastructure

Monitoring Recommendations

  • Enable detailed logging for applications that process XML data from untrusted sources
  • Configure alerting for abnormal crash rates in XML processing services
  • Implement memory monitoring to detect potential exploitation attempts
  • Review network traffic for anomalous patterns targeting XML endpoints

How to Mitigate CVE-2024-45490

Immediate Actions Required

  • Upgrade libexpat to version 2.6.3 or later across all affected systems
  • Inventory all applications and dependencies that rely on libexpat for XML parsing
  • Prioritize patching for internet-facing services that process XML data
  • Consider implementing network-level controls to restrict access to vulnerable services until patching is complete

Patch Information

The vulnerability has been addressed in libexpat version 2.6.3. The fix involves adding proper validation to reject negative length values in the XML_ParseBuffer function. The patch details are available in GitHub Pull Request #890.

For Debian-based systems, refer to the Debian LTS Announcement for distribution-specific update instructions. NetApp users should consult the NetApp Security Advisory for affected product information.

Workarounds

  • Implement input validation at the application layer to sanitize XML data before passing to libexpat
  • Deploy web application firewalls (WAF) with rules to inspect and filter malicious XML payloads
  • Restrict network access to XML processing services to trusted sources only
  • Consider using containerization or sandboxing for XML processing services to limit blast radius
bash
# Verify installed libexpat version on Linux systems
dpkg -l | grep libexpat
# or
rpm -qa | grep expat

# Update libexpat on Debian/Ubuntu
sudo apt update && sudo apt upgrade libexpat1

# Update libexpat on RHEL/CentOS
sudo yum update expat

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechLibexpat

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.54%

  • 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-611

  • CWE-190
  • Technical References
  • GitHub Issue #887

  • Full Disclosure Post Dec 10

  • Full Disclosure Post Dec 12

  • Full Disclosure Post Dec 6

  • Full Disclosure Post Dec 7

  • Full Disclosure Post Dec 8

  • Debian LTS Announcement

  • NetApp Security Advisory
  • Vendor Resources
  • GitHub Pull Request #890
  • Related CVEs
  • CVE-2024-50602

  • CVE-2024-45492

  • CVE-2024-45491

  • CVE-2024-28757

  • CVE-2023-52426

  • CVE-2023-52425
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
  • English
  • 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