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

Published Oct 9, 2025
·
Updated

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.

Other sources

Use-after-free vulnerability in the X11 Present extension implementation of the X.Org X server and Xwayland. The flaw occurs when processing notifications after presenting a pixmap; if an error happens, a dangling pointer remains in the error path. This leads to a use-after-free when destroying notification structures later. A remote attacker can exploit this via crafted X11 requests to trigger memory corruption or denial of service. The issue has existed since Xorg 1.15.

Red Hat

Xorg: xmayland: use-after-free in xpresentnotify structure creation

Microsoft

Affected Software

4 affected componentsFixes available
The X.Org Foundation X.Org X server>=1.15
The X.Org Foundation Xwayland>=1.15
Microsoft azl3 xorg-x11-server-Xwayland 24.1.6-2
Microsoft azl3 wayland 1.22.0-1

Event History

Oct 9, 2025
Data Sourced
via Red Hat·05:29 AM
DescriptionSeverityAffected Software
Oct 30, 2025
CVE Published
via MITRE·05:28 AM
Data Sourced
via MITRE·05:28 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeakness
Oct 31, 2025
Data Sourced
via Microsoft·01:11 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:11 AM
DescriptionSeverity
Updated
via Microsoft·08:11 AM
SeverityAffected Software
Updated
via Microsoft·08:11 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-62229?

The severity of CVE-2025-62229 is high due to its potential to cause memory corruption or application crashes.

2

How do I fix CVE-2025-62229?

To fix CVE-2025-62229, update to the latest version of X.Org X server or Xwayland that addresses this vulnerability.

3

What systems are affected by CVE-2025-62229?

CVE-2025-62229 affects versions of the X.Org X server and Xwayland starting from version 1.15.

4

What type of vulnerability is CVE-2025-62229?

CVE-2025-62229 is a use-after-free vulnerability arising from improper error handling in X11 Present extension notifications.

5

Can CVE-2025-62229 be exploited remotely?

Yes, CVE-2025-62229 has the potential for remote exploitation since it involves the X server, which can interact with various network clients.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203