A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-34352

CVE-2026-34352: TigerVNC Information Disclosure Flaw

CVE-2026-34352 is an information disclosure vulnerability in TigerVNC's x0vncserver that allows users to view or modify screen contents due to incorrect permissions. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: March 26, 2026

CVE-2026-34352 Overview

CVE-2026-34352 is an insecure permissions vulnerability in TigerVNC's x0vncserver component affecting versions prior to 1.16.2. The vulnerability exists in the Image.cxx file where shared memory segments are created with overly permissive file permissions (0777), allowing any local user on the system to observe or manipulate screen contents being shared through the VNC server. This flaw can lead to unauthorized information disclosure, screen manipulation, or application crashes.

Critical Impact

Local attackers can read or modify VNC screen contents and potentially crash the x0vncserver application due to insecure shared memory permissions.

Affected Products

  • TigerVNC versions prior to 1.16.2
  • x0vncserver component (unix/x0vncserver/Image.cxx)
  • Systems using shared memory (SHM) for screen sharing

Discovery Timeline

  • 2026-03-26 - CVE-2026-34352 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-34352

Vulnerability Analysis

This vulnerability falls under CWE-732 (Incorrect Permission Assignment for Critical Resource). The x0vncserver component in TigerVNC uses POSIX shared memory (shmget) to efficiently share screen buffer data. The vulnerable code creates shared memory segments with permissions set to 0777, which grants read, write, and execute permissions to all users on the system—not just the user running the VNC server.

In multi-user environments, this presents a significant security risk. Any local user can attach to these shared memory segments using standard system calls, enabling them to view sensitive information displayed on the VNC session or even inject malicious content into the screen buffer. The scope extends beyond the vulnerable component's security context, as the compromised shared memory can affect data confidentiality and integrity system-wide.

Root Cause

The root cause lies in the shmget() system call within unix/x0vncserver/Image.cxx, where the permission mask IPC_CREAT|0777 is used when allocating shared memory. This grants world-readable and world-writable permissions to the shared memory segment containing screen image data. The fix changes this to IPC_CREAT|0600, restricting access to only the owner (the user running x0vncserver).

Attack Vector

The attack requires local access to the target system. An attacker with a local unprivileged account can enumerate shared memory segments using standard tools like ipcs, identify segments owned by x0vncserver processes, and attach to them using shmat(). Once attached, the attacker can:

  1. Read screen contents to capture sensitive information (passwords, confidential documents, etc.)
  2. Write to the shared memory to inject malicious visual content
  3. Corrupt the memory segment causing application instability or crashes
text
 
   shminfo->shmid = shmget(IPC_PRIVATE,
                           xim->bytes_per_line * xim->height,
-                          IPC_CREAT|0777);
+                          IPC_CREAT|0600);
   if (shminfo->shmid == -1) {
     perror("shmget");
     vlog.error("shmget() failed (%d bytes requested)",

Source: GitHub TigerVNC Commit

Detection Methods for CVE-2026-34352

Indicators of Compromise

  • Unexpected shared memory segment accesses by unauthorized users visible in audit logs
  • Multiple processes attached to x0vncserver shared memory segments (check with ipcs -m)
  • Unusual x0vncserver crashes or instability that may indicate memory tampering
  • Unauthorized users running tools that enumerate or attach to shared memory

Detection Strategies

  • Monitor for shmat() and shmget() system calls targeting memory segments owned by VNC server processes
  • Implement audit rules to track access to shared memory segments: auditctl -a always,exit -F arch=b64 -S shmat -S shmget
  • Review active shared memory segments and their permissions using ipcs -m -p to identify overly permissive allocations
  • Deploy endpoint detection rules to flag processes attaching to shared memory they don't own

Monitoring Recommendations

  • Enable system call auditing for shared memory operations on systems running x0vncserver
  • Implement file integrity monitoring on TigerVNC binary files to detect unauthorized modifications
  • Monitor x0vncserver process stability and log any unexpected terminations
  • Establish baseline of legitimate shared memory usage patterns to identify anomalous access

How to Mitigate CVE-2026-34352

Immediate Actions Required

  • Upgrade TigerVNC to version 1.16.2 or later immediately
  • Restrict local system access to only trusted users on systems running x0vncserver
  • Audit current shared memory segments for improper permissions using ipcs -m
  • Consider temporarily disabling x0vncserver on multi-user systems until patched

Patch Information

TigerVNC version 1.16.2 addresses this vulnerability by changing the shared memory permission mask from 0777 to 0600 in the Image.cxx file. This ensures only the owner of the x0vncserver process can access the shared memory segment.

Patch details are available at:

  • GitHub TigerVNC Commit
  • SourceForge TigerVNC Release
  • TigerVNC Announcement

Workarounds

  • Limit local login access to systems running x0vncserver to only essential administrative users
  • Run x0vncserver in isolated environments such as containers or virtual machines where other users cannot access shared memory
  • Use operating system-level mandatory access controls (SELinux/AppArmor) to restrict shared memory access
  • Monitor and audit shared memory segment access until the patch can be applied
bash
# Configuration example
# Check for vulnerable shared memory permissions
ipcs -m | grep -v "^--" | awk '{print $1, $3}' | while read id perms; do
  if [ "$perms" = "777" ]; then
    echo "WARNING: Shared memory segment $id has world-accessible permissions"
  fi
done

# Apply restrictive permissions to limit local access (temporary workaround)
# Ensure only essential users can log into systems running x0vncserver

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechTigervnc

  • SeverityHIGH

  • CVSS Score8.5

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-732
  • Technical References
  • GitHub TigerVNC Commit

  • Google Group Announcement

  • SourceForge TigerVNC Release

  • Openwall OSS-Security Update
  • Related CVEs
  • CVE-2025-26601: TigerVNC Use-After-Free Vulnerability

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

  • CVE-2025-26597: TigerVNC Buffer Overflow Vulnerability

  • CVE-2025-26595: TigerVNC Buffer Overflow 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