CVE-2025-62229 Xorg: xmayland: use-after-free in xpresentnotify structure creation

High 7.3 Published Updated

A use-after-free flaw in X.Org X server and Xwayland allows attackers to execute arbitrary code or cause a denial of service via X11 Present extension notifications.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-62229?

CVE-2025-62229 is a high-severity use after free vulnerability in Red Hat Enterprise Linux 10, published on 30 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-416

Which versions are affected by CVE-2025-62229?

How do I fix CVE-2025-62229?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-62229 being exploited?

There is no known exploitation of CVE-2025-62229 in the wild and no public exploit code.

Sources

Also known as AZL-69470, BELL-CVE-2025-62229, DEBIAN-CVE-2025-62229, GHSA-49pm-cgmh-hw25, UBUNTU-CVE-2025-62229.

Is CVE-2025-62229 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free