Skip to main content

CVE-2025-62229

HIGH
Use After Free (CWE-416)
2025-10-30 secalert@redhat.com
7.3
CVSS 3.1 · Vendor: redhat
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local user access
  2. Delivery
    Establish X11 client connection
  3. Exploit
    Send crafted Present extension requests
  4. Execution
    Trigger notification creation error
  5. Persist
    Access freed memory via dangling pointer
  6. Impact
    Execute arbitrary code as X server process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Local authenticated access to a system running X.Org X server or Xwayland. Attacker must have low-privilege user account (PR:L) with ability to create X11 client connections and send Present extension requests to the display server. The X.Org server or Xwayland must be actively running to process the malicious requests. Exploitation requires triggering specific error conditions during Present extension notification creation, but attack complexity is low (AC:L) indicating reliable triggering is achievable. No user interaction required (UI:N). Default X server configurations are vulnerable; no non-standard settings required. Exploitation is limited to systems where the attacker already has local shell access or can execute code as an authenticated user, making this primarily a privilege escalation or denial-of-service vector rather than initial access mechanism.

Impact

Real-world risk is moderate despite the high CVSS score of 7.3. The CVSS vector (AV:L/AC:L/PR:L/UI:N) indicates local access with low-privilege authentication required, significantly limiting the attack surface compared to network-exploitable vulnerabilities. Attack complexity is low once local access is obtained, and no user interaction is needed. The scope is unchanged (S:U), meaning exploitation cannot escape the vulnerable component's security context. Impact shows low confidentiality (C:L), high integrity (I:H), and high availability (A:H), suggesting the primary risk is system compromise or crash rather than data theft. The vulnerability is not in CISA KEV, indicating no confirmed widespread or targeted exploitation. Red Hat's rapid issuance of 15 separate security advisories demonstrates vendor urgency and comprehensive patch availability across product lines. Without EPSS score data, probability assessment relies on attack prerequisites: local authenticated access limits exploitation to insider threats, malware post-compromise escalation, or supply chain scenarios. This is a genuine priority for patching desktop/workstation systems but lower urgency than remote unauthenticated RCE vulnerabilities. Multi-user systems and environments with untrusted local users (shared workstations, development servers) face higher risk.

Exploit ScenarioDerived

An attacker with low-privilege local access (standard user account) on a Linux system targets the X.Org X server or Xwayland process. The attacker crafts malicious X11 Present extension requests designed to trigger the improper error handling during notification creation. By precisely timing these requests, the attacker causes notification objects to be freed while references remain, creating dangling pointers. Subsequent manipulation of the freed memory region through additional crafted requests achieves use-after-free exploitation, allowing arbitrary code execution within the X server's security context or causing denial of service through crashes. No public exploit code confirmed at time of analysis, but the low attack complexity (AC:L) suggests exploitation is feasible for skilled attackers once local access is achieved.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 20, 2026

Use-after-free in X.Org X server and Xwayland during Present extension notification processing allows local authenticated users to achieve arbitrary code execution or denial of service. The flaw affects core display server components across multiple Linux distributions, with Red Hat confirming patches through 15 security advisories (RHSA-2025:19432 through RHSA-2025:22055). CVSS 7.3 reflects high integrity and availability impact with low confidentiality impact. No active exploitation confirmed (not in CISA KEV). EPSS data not provided, but the local attack vector and authentication requirement reduce remote exploitation risk despite the severity of potential impact.

RemediationAI

Apply vendor-released patches immediately for affected X.Org X server and Xwayland packages. Red Hat users should consult the specific RHSA advisory matching their distribution version and apply updates through standard package management (yum/dnf update xorg-x11-server xorg-x11-server-Xwayland). Red Hat advisories available at https://access.redhat.com/errata/RHSA-2025:19432 through RHSA-2025:22055 provide distribution-specific patched versions. Other Linux distribution users should check vendor security advisories for availability of patched packages. If immediate patching is not possible, limit local user access to trusted accounts only, disable multi-user login capabilities on affected systems, and implement mandatory access controls (SELinux, AppArmor) to restrict X server exploitation impact. Disabling the Present extension entirely may prevent exploitation but will break application functionality relying on this extension, including most modern desktop compositors and video playback applications, making this workaround impractical for production desktop environments. Monitor systems for unexpected X server crashes or memory corruption indicators as potential exploitation attempts.

Affected ProductsAI

X.Org X server and Xwayland packages across Red Hat Enterprise Linux distributions are confirmed affected. Red Hat security advisories RHSA-2025:19432, RHSA-2025:19433, RHSA-2025:19434, RHSA-2025:19435, RHSA-2025:19489, RHSA-2025:19623, RHSA-2025:19909, RHSA-2025:20958, RHSA-2025:20960, RHSA-2025:20961, RHSA-2025:21035, RHSA-2025:22040, RHSA-2025:22041, RHSA-2025:22051, and RHSA-2025:22055 cover multiple RHEL versions and derivative distributions. The vulnerability affects both traditional X.Org server implementations and Xwayland compatibility layers. Other Linux distributions using X.Org or Xwayland from upstream sources are likely affected pending vendor-specific advisories. Specific version ranges not provided in available data; consult distribution-specific RHSA advisories at https://access.redhat.com/errata/ for exact affected and fixed versions per distribution release.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The X.Org X server and Xwayland implement the X11 Present extension, which provides mechanisms for timing and synchronization of window content updates. This vulnerability (CWE-416: Use After Free) occurs during notification creation within the Present extension processing logic. Improper error handling fails to properly invalidate pointers when notification objects are freed, leaving dangling references. Subsequent access to these freed memory regions creates a use-after-free condition that can be leveraged for memory corruption. Both X.Org X server (the traditional X11 display server) and Xwayland (the compatibility layer allowing X11 applications to run on Wayland compositors) share this vulnerable code path. The flaw exists in core display server infrastructure used across virtually all Linux desktop environments, making it broadly applicable but requiring local system access to exploit.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (redhat) PRIMARY 7.3 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
SUSE HIGH
Red Hat 7.3 MEDIUM

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
High

DescriptionCVE.org

A flaw was found in the X.Org X server and Xwayland when processing X11 Present extension notifications. Improper error handling during notification creation can leave dangling pointers that lead to a use-after-free condition. This can cause memory corruption or a crash, potentially allowing an attacker to execute arbitrary code or cause a denial of service.

Executive ViewAI

Why It Matters

CVE-2025-62229 is a use-after-free vulnerability in X.Org X server and Xwayland that allows authenticated local users to execute arbitrary code or crash display services, affecting Linux systems across multiple distributions. This poses a significant risk to multi-user environments and systems where local account compromise is possible, as attackers with valid credentials can escalate to system-level control of the display stack.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable the Present extension if not required (modify /etc/X11/xorg.conf or Xwayland configuration); (2) restrict local shell access to trusted users only via PAM or account lockdown; (3) enforce mandatory use of containerized or virtualized development environments to isolate X server processes; (4) monitor process execution for abnormal X server behavior and core dumps indicating crashes.

Threat Intelligence Overview

EPSS Score
0.0%
Top 97% exploitable
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: High
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Affected
Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Affected
Container suse/sl-micro/6.1/baremetal-os-container:2.2.1-7.6 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.33 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.18 Affected
Container suse/sl-micro/6.1/base-os-container:2.2.1-5.30 Affected
Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd Affected

References

Advisories & patches
ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:21149/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:3858/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:3863/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:3864/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:3865/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:3866/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:3872/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:3874/ ADVISORY https://www.suse.com/support/update/SUSE-SU-2025:3909/ REF http://www.openwall.com/lists/oss-security/2025/10/28/7 REF https://access.redhat.com/errata/RHSA-2025:19432 REF https://access.redhat.com/errata/RHSA-2025:19433 REF https://access.redhat.com/errata/RHSA-2025:19434 REF https://access.redhat.com/errata/RHSA-2025:19435 REF https://access.redhat.com/errata/RHSA-2025:19489 REF https://access.redhat.com/errata/RHSA-2025:19623 REF https://access.redhat.com/errata/RHSA-2025:19909 REF https://access.redhat.com/errata/RHSA-2025:20958 REF https://access.redhat.com/errata/RHSA-2025:20960 REF https://access.redhat.com/errata/RHSA-2025:20961 REF https://access.redhat.com/errata/RHSA-2025:21035 REF https://access.redhat.com/errata/RHSA-2025:22040 REF https://access.redhat.com/errata/RHSA-2025:22041 REF https://access.redhat.com/errata/RHSA-2025:22051 REF https://access.redhat.com/errata/RHSA-2025:22055 REF https://access.redhat.com/errata/RHSA-2025:22056 REF https://access.redhat.com/errata/RHSA-2025:22077 REF https://access.redhat.com/errata/RHSA-2025:22096 REF https://access.redhat.com/errata/RHSA-2025:22164 REF https://access.redhat.com/errata/RHSA-2025:22167 REF https://access.redhat.com/errata/RHSA-2025:22364 REF https://access.redhat.com/errata/RHSA-2025:22365 REF https://access.redhat.com/errata/RHSA-2025:22426 REF https://access.redhat.com/errata/RHSA-2025:22427 REF https://access.redhat.com/errata/RHSA-2025:22667 REF https://access.redhat.com/errata/RHSA-2025:22729 REF https://access.redhat.com/errata/RHSA-2025:22742 REF https://access.redhat.com/errata/RHSA-2025:22753 REF https://access.redhat.com/errata/RHSA-2026:0031 REF https://access.redhat.com/errata/RHSA-2026:0033 REF https://access.redhat.com/errata/RHSA-2026:0034 REF https://access.redhat.com/errata/RHSA-2026:0035 REF https://access.redhat.com/errata/RHSA-2026:0036 REF https://access.redhat.com/security/cve/CVE-2025-62229 REF https://bugzilla.redhat.com/show_bug.cgi?id=2402649 REF https://lists.debian.org/debian-lts-announce/2025/10/msg00033.html REF https://lists.x.org/archives/xorg-announce/2025-October/003635.html

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy