Cloudanix VulnDB

CVE-2025-49177

Medium · 6.1

CVSS

6.1

EPSS

0.4%

Published

Jun 17, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in the display server used by many Linux desktops lets a logged-in user peek at leftover data from other programs running on the same screen.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Exposure
Component
Library
Class
Information Disclosure
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

The XFixesSetClientDisconnectMode handler in the XFIXES extension fails to validate request length, permitting a local client to read arbitrary memory contents left over from prior X server requests.

Why it matters to the business

Local users on affected X11 systems may obtain sensitive data belonging to other sessions or processes, increasing risk of credential theft or information leakage in shared desktop environments.

How an attack unfolds

An attacker with a local X11 client connection crafts a malformed XFixesSetClientDisconnectMode request containing an oversized or invalid length field; the server responds with uninitialized memory from previous protocol exchanges, disclosing data without authentication beyond local access.

How to fix it

Update the Xorg X server to the commit ab02fb96b1c701c3bb47617d965522c34befa6af or later; rebuild and deploy the patched package across all affected systems.

How to confirm the fix worked

Confirm the running xserver binary or package version contains commit ab02fb96b1c701c3bb47617d965522c34befa6af; recompile with the patch and verify the handler now enforces request length bounds via code review or fuzz testing.

Typical attack path

  1. Obtain local shell or X11 client access on the target system
  2. Connect to the X server and issue a specially crafted XFixesSetClientDisconnectMode request with manipulated length
  3. Receive and parse the server's reply containing residual memory from prior requests
  4. Extract and analyze disclosed data for sensitive information

How to detect it

Review X server logs and client connection records for unusual request patterns; memory disclosure leaves no direct artifacts, so focus on post-exploitation use of obtained data such as unexpected credential usage.

What your security team should do

  • Immediately upgrade all Xorg xserver installations to the fixed commit
  • Restrict local X11 access using xauth or Unix socket permissions where possible
  • Monitor for future X server updates and include them in standard patching cycles
  • Audit multi-user systems for unnecessary X11 exposure

The record

A flaw was found in the XFIXES extension. The XFixesSetClientDisconnectMode handler does not validate the request length, allowing a client to read unintended memory from previous requests.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:10 xorg-x11-server-Xwayland 0 24.1.5-4.el10_0
AlmaLinux:10 xorg-x11-server-Xwayland-devel 0 24.1.5-4.el10_0
Debian:11 xorg-server 0 No fix
Debian:12 xorg-server 0 No fix
Debian:12 xwayland 0 No fix
Debian:13 xorg-server 0 No fix
Debian:13 xwayland 0 No fix
Debian:14 xorg-server 0 2:21.1.16-1.2
Debian:14 xwayland 0 2:24.1.8-1
Mageia:9 tigervnc 0 1.13.1-2.8.mga9
Mageia:9 x11-server 0 21.1.8-7.8.mga9
Mageia:9 x11-server-xwayland 0 22.1.9-1.8.mga9
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS xorg-x11-server 0 21.1.4-150500.7.35.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS xorg-x11-server 0 21.1.4-150500.7.35.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 xorg-x11-server 0 21.1.11-150600.5.12.1
SUSE:Linux Enterprise Module for Basesystem 15 SP7 xorg-x11-server 0 21.1.15-150700.5.3.1
SUSE:Linux Enterprise Module for Development Tools 15 SP6 xorg-x11-server 0 21.1.11-150600.5.12.1
SUSE:Linux Enterprise Module for Development Tools 15 SP7 xorg-x11-server 0 21.1.15-150700.5.3.1
SUSE:Linux Enterprise Server 15 SP5-LTSS xorg-x11-server 0 21.1.4-150500.7.35.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 xorg-x11-server 0 21.1.4-150500.7.35.1
SUSE:Linux Enterprise Workstation Extension 15 SP6 xwayland 0 24.1.1-150600.5.12.1
SUSE:Linux Enterprise Workstation Extension 15 SP7 xwayland 0 24.1.5-150700.3.3.1
openSUSE:Leap 15.6 xorg-x11-server 0 21.1.11-150600.5.12.1
openSUSE:Leap 15.6 xwayland 0 24.1.1-150600.5.12.1
openSUSE:Tumbleweed xorg-x11-server 0 21.1.15-6.1
openSUSE:Tumbleweed xwayland 0 24.1.8-1.1

Related vulnerabilities