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-2023-43786

CVE-2023-43786: X.org libX11 DOS Vulnerability

CVE-2023-43786 is a denial of service vulnerability in X.org libX11 caused by an infinite loop in PutSubImage(). Local attackers can exhaust system resources. This post covers technical details, affected versions, and mitigations.

Published: February 4, 2026

CVE-2023-43786 Overview

A vulnerability was found in libX11 due to an infinite loop within the PutSubImage() function. This flaw allows a local user to consume all available system resources and cause a denial of service condition. The vulnerability affects X.org's libX11 library, which is a fundamental component of the X Window System used across numerous Linux distributions.

Critical Impact

Local attackers can trigger an infinite loop in the PutSubImage() function, leading to complete system resource exhaustion and denial of service on affected systems running libX11.

Affected Products

  • X.org libX11 (all vulnerable versions)
  • Red Hat Enterprise Linux 8.0
  • Red Hat Enterprise Linux 9.0
  • Fedora 38

Discovery Timeline

  • October 10, 2023 - CVE-2023-43786 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2023-43786

Vulnerability Analysis

The vulnerability exists in the PutSubImage() function within libX11, the X Window System protocol client library. When processing certain image data, the function can enter an infinite loop condition. This behavior stems from improper loop termination logic when handling specific edge cases in image processing operations.

The PutSubImage() function is responsible for handling sub-image placement operations within the X11 graphics system. When triggered, the infinite loop consumes CPU cycles indefinitely, preventing other processes from executing normally and effectively rendering the system unresponsive.

This vulnerability is classified under CWE-835 (Loop with Unreachable Exit Condition) and CWE-400 (Uncontrolled Resource Consumption), reflecting the infinite loop nature of the flaw and its resource exhaustion impact.

Root Cause

The root cause of this vulnerability lies in the loop control logic within the PutSubImage() function. Under specific conditions involving particular image dimensions or data characteristics, the loop exit condition becomes unreachable, causing the function to iterate indefinitely. This represents a classic infinite loop vulnerability where boundary checking or loop termination conditions fail to account for all possible input scenarios.

Attack Vector

The attack vector requires local access to the system. An authenticated local user can craft or provide specially constructed image data that triggers the vulnerable code path in PutSubImage(). When the function processes this malicious input, it enters an infinite loop that consumes CPU resources. Since libX11 is a client library used by many X11 applications, any application processing the malicious data could trigger the vulnerability.

The vulnerability manifests when the PutSubImage() function encounters specific conditions during image processing. Technical details regarding the exact triggering conditions can be found in the Red Hat Bug Report #2242253 and the Openwall OSS Security Mailing List Post.

Detection Methods for CVE-2023-43786

Indicators of Compromise

  • Processes linked against libX11 showing 100% CPU utilization with no progress
  • System becoming unresponsive when X11 applications process image data
  • Application hangs specifically during graphical rendering operations
  • Unusual CPU resource consumption by X11 client applications

Detection Strategies

  • Monitor for X11 client applications consuming excessive CPU resources over extended periods
  • Implement process monitoring to detect single-threaded CPU exhaustion patterns typical of infinite loops
  • Check installed libX11 versions against known vulnerable versions using package management tools
  • Use runtime application monitoring to detect functions that fail to return within expected timeframes

Monitoring Recommendations

  • Configure system monitoring to alert on sustained high CPU usage by individual processes
  • Implement watchdog mechanisms for critical X11 applications to detect and recover from hangs
  • Monitor system resource utilization trends to identify denial of service conditions early
  • Enable audit logging for applications that process external image data through X11 interfaces

How to Mitigate CVE-2023-43786

Immediate Actions Required

  • Update libX11 to the latest patched version available from your distribution's repositories
  • Apply vendor-specific security updates from Red Hat, Fedora, or Debian as applicable
  • Review and restrict local user access on systems where exploitation risk is elevated
  • Consider implementing resource limits (cgroups, ulimits) to contain potential DoS impact

Patch Information

Security patches are available from multiple vendors. Red Hat has released fixes through RHSA-2024:2145 for Red Hat Enterprise Linux 9 and RHSA-2024:2973 for Red Hat Enterprise Linux 8. Debian users should refer to the Debian LTS Announcement for updated packages. Fedora users can obtain patches through the Fedora Package Announcement. NetApp customers should consult the NetApp Security Advisory NTAP-20231103-0006.

Workarounds

  • Implement CPU resource limits using cgroups to prevent any single process from monopolizing system resources
  • Deploy process watchdog mechanisms to automatically terminate and restart hung X11 applications
  • Restrict local user access to trusted accounts only on systems running vulnerable libX11 versions
  • Consider isolating X11 applications in containers with resource constraints as a defense-in-depth measure
bash
# Example: Set CPU limits using cgroups to mitigate DoS impact
# Create a cgroup with CPU quota for X11 applications
sudo cgcreate -g cpu:/x11apps
sudo cgset -r cpu.cfs_quota_us=50000 x11apps
sudo cgset -r cpu.cfs_period_us=100000 x11apps
# This limits the group to 50% of one CPU core

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLibx11

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.08%

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

  • CWE-835
  • Technical References
  • Red Hat Security Advisory RHSA-2024:2145

  • Red Hat Security Advisory RHSA-2024:2973

  • Red Hat CVE Analysis CVE-2023-43786

  • Red Hat Bug Report #2242253

  • Openwall OSS Security Mailing List Post

  • Debian LTS Announcement October 2023

  • Fedora Package Announcement

  • NetApp Security Advisory NTAP-20231103-0006
  • Related CVEs
  • CVE-2023-43787: X.org libX11 Privilege Escalation Flaw

  • CVE-2023-43785: X.org libX11 Information Disclosure Flaw

  • CVE-2021-31535: X.org libX11 RCE Vulnerability

  • CVE-2020-14363: X.org libX11 Use-After-Free 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