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-2025-26597

CVE-2025-26597: TigerVNC Buffer Overflow Vulnerability

CVE-2025-26597 is a buffer overflow vulnerability in TigerVNC affecting X.Org and Xwayland components. This flaw occurs in XkbChangeTypesOfKey() and allows memory corruption. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-26597 Overview

A buffer overflow vulnerability has been identified in X.Org Server and Xwayland affecting the XkbChangeTypesOfKey() function. This flaw occurs when the function is called with a 0 group parameter, which resizes the key symbols table to 0 while leaving key actions unchanged. A subsequent call to the same function with a non-zero group value triggers a buffer overflow because the key actions array has an incorrect size, leading to potential memory corruption.

Critical Impact

This vulnerability allows a local attacker with low privileges to potentially achieve code execution or cause system instability by corrupting memory through the buffer overflow condition in X.Org/Xwayland display server components.

Affected Products

  • X.Org X Server (all vulnerable versions)
  • X.Org Xwayland (all vulnerable versions)
  • TigerVNC (all vulnerable versions)
  • Red Hat Enterprise Linux 7.0, 8.0, and 9.0

Discovery Timeline

  • February 25, 2025 - CVE-2025-26597 published to NVD
  • November 3, 2025 - Last updated in NVD database

Technical Details for CVE-2025-26597

Vulnerability Analysis

This buffer overflow vulnerability exists within the X Keyboard Extension (XKB) implementation in both X.Org Server and Xwayland. The flaw is rooted in improper memory management within the XkbChangeTypesOfKey() function, which is responsible for modifying keyboard type mappings.

When a client application calls XkbChangeTypesOfKey() with a group count of zero, the function performs a resize operation on the key symbols table, effectively setting its size to zero. However, the corresponding key actions array—which should maintain synchronized sizing with the symbols table—is not properly updated during this operation. This creates a dangerous state where the internal data structures have mismatched sizes.

The vulnerability manifests when the function is subsequently called with a non-zero group value. At this point, the code attempts to access or modify the key actions array based on the newly specified group count, but the array remains at its original size from before the zero-group call. This size mismatch results in out-of-bounds memory writes, constituting a classic buffer overflow condition.

Root Cause

The root cause is a failure to properly synchronize memory allocations between the key symbols table and key actions array within XkbChangeTypesOfKey(). When the group parameter is zero, only the symbols table is resized while the actions array retains its previous allocation, creating an inconsistent state that can be exploited through subsequent function calls.

Attack Vector

This is a local attack vector requiring low-privilege access to the system. An attacker would need to be able to send specially crafted XKB requests to the X server, which typically requires local access or a connection to the display server. The attack sequence involves:

  1. Establishing a connection to the X.Org or Xwayland display server
  2. Sending an XKB request that triggers XkbChangeTypesOfKey() with a group value of 0
  3. Subsequently sending another XKB request with a non-zero group value
  4. The resulting buffer overflow can corrupt adjacent memory, potentially leading to code execution

The vulnerability mechanism involves improper bounds checking in the XKB keyboard extension code. For detailed technical analysis, refer to Red Hat Bugzilla Report #2345255.

Detection Methods for CVE-2025-26597

Indicators of Compromise

  • Unexpected crashes or segmentation faults in Xorg or Xwayland processes
  • Anomalous XKB-related requests appearing in X server logs
  • Memory corruption warnings or errors in system logs related to display server components
  • Unusual process behavior following X server restarts or display reconfigurations

Detection Strategies

  • Monitor X server logs for unusual XKB extension activity or malformed requests
  • Implement memory integrity monitoring for Xorg and Xwayland processes
  • Deploy endpoint detection solutions capable of identifying buffer overflow exploitation attempts
  • Track system calls related to X server memory operations for anomalous patterns

Monitoring Recommendations

  • Enable verbose logging for X.Org and Xwayland to capture XKB extension requests
  • Configure crash dump analysis for automated detection of exploitation attempts
  • Implement file integrity monitoring on X server binaries and libraries
  • Monitor for unauthorized modifications to keyboard configuration files

How to Mitigate CVE-2025-26597

Immediate Actions Required

  • Apply vendor-provided security patches for X.Org Server, Xwayland, and TigerVNC immediately
  • Review and restrict access to X display servers where possible
  • Consider temporarily disabling XKB extension functionality if patches cannot be immediately applied
  • Audit systems for signs of exploitation before and after patching

Patch Information

Multiple vendors have released security updates addressing this vulnerability:

Red Hat Enterprise Linux:

  • RHSA-2025:2500 - X.Org server security update
  • RHSA-2025:2502 - Xwayland security update
  • RHSA-2025:2861 through RHSA-2025:2880 - Additional component updates
  • RHSA-2025:7163, RHSA-2025:7165, and RHSA-2025:7458 - Latest security updates

Debian:

  • Security updates available via Debian LTS Security Announcement

For complete vulnerability details, see Red Hat CVE Resource for CVE-2025-26597.

Workarounds

  • Restrict local access to systems running vulnerable X.Org or Xwayland versions
  • Implement network segmentation to limit exposure of systems with display servers
  • Use application sandboxing to isolate X server processes from critical system components
  • Consider temporarily switching to Wayland-native compositors where XKB extension usage can be controlled
bash
# Check installed X.Org server version on RHEL/CentOS
rpm -qa | grep -E "xorg-x11-server|xwayland|tigervnc"

# Update affected packages on RHEL-based systems
sudo dnf update xorg-x11-server-Xorg xorg-x11-server-Xwayland tigervnc-server

# Verify update was applied
rpm -q xorg-x11-server-Xorg xorg-x11-server-Xwayland

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechTigervnc

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.05%

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

  • Red Hat Security Advisory RHSA-2025:2502

  • Red Hat Security Advisory RHSA-2025:2861

  • Red Hat Security Advisory RHSA-2025:2862

  • Red Hat Security Advisory RHSA-2025:2865

  • Red Hat Security Advisory RHSA-2025:2866

  • Red Hat Security Advisory RHSA-2025:2873

  • Red Hat Security Advisory RHSA-2025:2874

  • Red Hat Security Advisory RHSA-2025:2875

  • Red Hat Security Advisory RHSA-2025:2879

  • Red Hat Security Advisory RHSA-2025:2880

  • Red Hat Security Advisory RHSA-2025:7163

  • Red Hat Security Advisory RHSA-2025:7165

  • Red Hat Security Advisory RHSA-2025:7458

  • Red Hat CVE Resource CVE-2025-26597

  • Red Hat Bugzilla Report #2345255

  • Debian LTS Security Announcement
  • Related CVEs
  • CVE-2025-26595: TigerVNC Buffer Overflow Vulnerability

  • CVE-2026-34352: TigerVNC Information Disclosure Flaw

  • CVE-2025-26601: TigerVNC Use-After-Free Vulnerability

  • CVE-2025-26600: TigerVNC 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