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-2024-31080

CVE-2024-31080: X.org Server Buffer Overflow Vulnerability

CVE-2024-31080 is a heap-based buffer over-read flaw in X.org server's ProcXIGetSelectedEvents() function that allows attackers to leak memory and crash the server. This article covers technical details, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-31080 Overview

A heap-based buffer over-read vulnerability was discovered in the X.org server's ProcXIGetSelectedEvents() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash.

Critical Impact

Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads, leading to information disclosure and denial of service conditions.

Affected Products

  • X.org Server (xorg-server)
  • Red Hat Enterprise Linux (multiple versions)
  • Fedora Linux distributions
  • Debian Linux distributions

Discovery Timeline

  • April 4, 2024 - CVE-2024-31080 published to NVD
  • August 4, 2025 - Last updated in NVD database

Technical Details for CVE-2024-31080

Vulnerability Analysis

The vulnerability resides in the ProcXIGetSelectedEvents() function within the X.org server codebase. This function handles requests from X Input extension clients to retrieve selected events. The flaw is classified as CWE-126 (Buffer Over-read), which occurs when the software reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer.

The root cause stems from improper handling of byte-swapped length values when processing replies for clients with different endianness. When a client connects to the X server from a system with opposing byte order (e.g., big-endian client to little-endian server), the length values in the protocol messages must be byte-swapped. The vulnerability occurs because the server incorrectly uses these swapped values to determine how much memory to read and transmit back to the client.

Root Cause

The vulnerability exists due to improper bounds checking when handling byte-swapped length values in the XI (X Input) extension's ProcXIGetSelectedEvents() function. When length values are byte-swapped for clients with different endianness, the resulting values can be interpreted as much larger than intended. This causes the X server to read beyond the bounds of allocated heap memory, exposing sensitive data that happens to be stored in adjacent memory regions.

Attack Vector

This is a local attack vector vulnerability requiring the attacker to have local access to establish a connection to the X server. The exploitation scenario involves:

  1. An attacker establishes a connection to the vulnerable X server from a system with different endianness
  2. The attacker sends crafted XI extension requests that trigger the ProcXIGetSelectedEvents() function
  3. Due to byte-swapping issues, the server misinterprets length values and reads beyond allocated buffer boundaries
  4. The server transmits the out-of-bounds heap memory contents back to the attacker
  5. This process continues until the server hits an unmapped memory page, causing a segmentation fault and crash

The attack does not allow the attacker to control which specific memory regions are read, but the over-read can still expose sensitive information stored in heap memory near the targeted buffer.

Detection Methods for CVE-2024-31080

Indicators of Compromise

  • Unexpected X server crashes with segmentation fault errors in logs
  • Abnormal memory access patterns from the Xorg process
  • X server process terminating unexpectedly during client connections from systems with different byte order architectures

Detection Strategies

  • Monitor X server logs for segmentation faults or memory access violations related to XI extension handling
  • Implement memory debugging tools such as AddressSanitizer (ASan) in development environments to detect heap buffer over-reads
  • Review X server connection logs for unusual connection patterns from cross-endianness clients

Monitoring Recommendations

  • Configure system monitoring to alert on X server process crashes and restarts
  • Enable core dump analysis for X server segmentation faults to identify exploitation attempts
  • Monitor network connections to the X server for anomalous client behavior

How to Mitigate CVE-2024-31080

Immediate Actions Required

  • Apply security patches from your Linux distribution vendor immediately
  • Review and restrict X server access to trusted local users only
  • Consider disabling remote X server connections until patches are applied
  • Implement network segmentation to limit exposure of systems running vulnerable X server versions

Patch Information

Multiple Linux distributions have released security advisories and patches for this vulnerability. Organizations should apply the appropriate patches based on their distribution:

  • Red Hat Enterprise Linux: Multiple advisories including RHSA-2024:1785, RHSA-2024:2036, RHSA-2024:2037, and others. See Red Hat CVE-2024-31080 for complete details.
  • Debian: Security update available via Debian LTS Announcement
  • Fedora: Package updates announced via Fedora Package Announcements

For additional technical discussion, refer to the OpenWall OSS-Security mailing list.

Workarounds

  • Restrict X server access using xhost or X authorization mechanisms to limit connections to trusted clients only
  • Disable the X Input extension if not required by your applications (may impact functionality)
  • Use Wayland-based display servers as an alternative where supported by your applications
  • Implement additional access controls using SELinux or AppArmor to restrict X server process capabilities
bash
# Restrict X server to local connections only
xhost -
xhost +local:

# Verify X server version for patching
Xorg -version

# Check for available security updates (Red Hat/CentOS)
yum check-update xorg-x11-server*

# Check for available security updates (Debian/Ubuntu)
apt list --upgradable | grep xorg

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechX Server

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-126
  • Technical References
  • Red Hat Security Advisory RHSA-2024:1785

  • Red Hat Security Advisory RHSA-2024:2036

  • Red Hat Security Advisory RHSA-2024:2037

  • Red Hat Security Advisory RHSA-2024:2038

  • Red Hat Security Advisory RHSA-2024:2039

  • Red Hat Security Advisory RHSA-2024:2040

  • Red Hat Security Advisory RHSA-2024:2041

  • Red Hat Security Advisory RHSA-2024:2042

  • Red Hat Security Advisory RHSA-2024:2080

  • Red Hat Security Advisory RHSA-2024:2616

  • Red Hat Security Advisory RHSA-2024:3258

  • Red Hat Security Advisory RHSA-2024:3261

  • Red Hat Security Advisory RHSA-2024:3343

  • Red Hat Security Advisory RHSA-2024:9093

  • Red Hat Security Advisory RHSA-2024:9122

  • Red Hat Security Advisory RHSA-2025:12751

  • Red Hat CVE-2024-31080

  • Red Hat Bug Report #2271997

  • OpenWall OSS-Security Discussion

  • OpenWall OSS-Security Discussion

  • Debian LTS Announcement #00009

  • Fedora Package Announcement

  • Fedora Package Announcement

  • Fedora Package Announcement
  • Related CVEs
  • CVE-2023-6816: X.org X Server Buffer Overflow Vulnerability

  • CVE-2021-3472: X.org X Server Privilege Escalation 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