Cloudanix VulnDB

CVE-2025-49179

High · 7.3

CVSS

7.3

EPSS

0.3%

Published

Jun 17, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in the X window system server could let someone already on the computer cause crashes or run harmful code by sending bad requests.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Data Exposure
Component
Application
Class
Memory Corruption
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

The vulnerability is an integer overflow in RecordSanityCheckRegisterClients when computing request length, allowing clients to bypass length checks and potentially cause memory corruption in the X Record extension.

Why it matters to the business

Systems running affected X servers face risk of crashes or local memory corruption that could enable unauthorized code execution or denial of service in graphical desktop environments.

How an attack unfolds

A local attacker sends a crafted X Record extension request that triggers the integer overflow during length computation, bypassing sanity checks and enabling out-of-bounds memory access.

How to fix it

Upgrade desktop.org/xorg/xserver to the fixed commit 2bde9ca49a8fd9a1e6697d5e7ef837870d66f5d4.

How to confirm the fix worked

Confirm the running X server binary or source matches the fixed commit hash and exercise Record extension registration paths with maximum-length requests.

Typical attack path

  1. Gain local access on a host running the vulnerable X server
  2. Connect as a client to the X Record extension
  3. Send a request with specially chosen length values that overflow
  4. Bypass length validation and trigger memory corruption

How to detect it

Review X server logs and audit trails for malformed Record extension requests or sudden crashes; correlate with local user activity attempting to open X connections.

What your security team should do

  • Apply the upstream fix immediately on all systems using the X Record extension
  • Audit X server deployments for unnecessary extension enablement
  • Monitor local processes for anomalous X client connections

The record

A flaw was found in the X Record extension. The RecordSanityCheckRegisterClients function does not check for an integer overflow when computing request length, which allows a client to bypass length checks.

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
AlmaLinux:8 tigervnc 0 1.15.0-7.el8_10
AlmaLinux:8 tigervnc-icons 0 1.15.0-7.el8_10
AlmaLinux:8 tigervnc-license 0 1.15.0-7.el8_10
AlmaLinux:8 tigervnc-selinux 0 1.15.0-7.el8_10
AlmaLinux:8 tigervnc-server 0 1.15.0-7.el8_10
AlmaLinux:8 tigervnc-server-minimal 0 1.15.0-7.el8_10
AlmaLinux:8 tigervnc-server-module 0 1.15.0-7.el8_10
AlmaLinux:8 xorg-x11-server-Xdmx 0 1.20.11-26.el8_10
AlmaLinux:8 xorg-x11-server-Xephyr 0 1.20.11-26.el8_10
AlmaLinux:8 xorg-x11-server-Xnest 0 1.20.11-26.el8_10
AlmaLinux:8 xorg-x11-server-Xorg 0 1.20.11-26.el8_10
AlmaLinux:8 xorg-x11-server-Xvfb 0 1.20.11-26.el8_10
AlmaLinux:8 xorg-x11-server-Xwayland 0 21.1.3-18.el8_10
AlmaLinux:8 xorg-x11-server-common 0 1.20.11-26.el8_10
AlmaLinux:8 xorg-x11-server-devel 0 1.20.11-26.el8_10
AlmaLinux:8 xorg-x11-server-source 0 1.20.11-26.el8_10
AlmaLinux:9 tigervnc 0 1.14.1-8.el9_6
AlmaLinux:9 tigervnc-icons 0 1.14.1-8.el9_6
AlmaLinux:9 tigervnc-license 0 1.14.1-8.el9_6
AlmaLinux:9 tigervnc-selinux 0 1.14.1-8.el9_6
AlmaLinux:9 tigervnc-server 0 1.14.1-8.el9_6
AlmaLinux:9 tigervnc-server-minimal 0 1.14.1-8.el9_6
AlmaLinux:9 tigervnc-server-module 0 1.14.1-8.el9_6
AlmaLinux:9 xorg-x11-server-Xdmx 0 1.20.11-31.el9_6
AlmaLinux:9 xorg-x11-server-Xephyr 0 1.20.11-31.el9_6
AlmaLinux:9 xorg-x11-server-Xnest 0 1.20.11-31.el9_6
AlmaLinux:9 xorg-x11-server-Xorg 0 1.20.11-31.el9_6
AlmaLinux:9 xorg-x11-server-Xvfb 0 1.20.11-31.el9_6
AlmaLinux:9 xorg-x11-server-Xwayland 0 23.2.7-4.el9_6
AlmaLinux:9 xorg-x11-server-Xwayland-devel 0 23.2.7-4.el9_6
AlmaLinux:9 xorg-x11-server-common 0 1.20.11-31.el9_6
AlmaLinux:9 xorg-x11-server-devel 0 1.20.11-31.el9_6
AlmaLinux:9 xorg-x11-server-source 0 1.20.11-31.el9_6
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:Enterprise Storage 7.1 xorg-x11-server 0 1.20.3-150200.22.5.105.1
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS xorg-x11-server 0 1.20.3-150200.22.5.105.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS xorg-x11-server 0 1.20.3-150400.38.57.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS xorg-x11-server 0 1.20.3-150400.38.57.1
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 12 SP5-LTSS xorg-x11-server 0 1.19.6-10.83.1
SUSE:Linux Enterprise Server 15 SP3-LTSS xorg-x11-server 0 1.20.3-150200.22.5.105.1
SUSE:Linux Enterprise Server 15 SP4-LTSS xorg-x11-server 0 1.20.3-150400.38.57.1
SUSE:Linux Enterprise Server 15 SP5-LTSS xorg-x11-server 0 21.1.4-150500.7.35.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 xorg-x11-server 0 1.19.6-10.83.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP3 xorg-x11-server 0 1.20.3-150200.22.5.105.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 xorg-x11-server 0 1.20.3-150400.38.57.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 xorg-x11-server 0 1.20.3-150200.22.5.105.1
SUSE:Linux Enterprise Workstation Extension 15 SP6 xwayland 0 24.1.1-150600.5.12.1
SUSE:Linux Enterprise Workstation Extension 15 SP7 xorg-x11-server 0 1.20.3-150200.22.5.105.1
SUSE:Linux Enterprise Workstation Extension 15 SP7 xwayland 0 24.1.5-150700.3.3.1
SUSE:Manager Proxy 4.3 xorg-x11-server 0 1.20.3-150400.38.57.1
SUSE:Manager Server 4.3 xorg-x11-server 0 1.20.3-150400.38.57.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