CVE-2025-26601: Xorg: xwayland: use-after-free in syncinittrigger()

Published Feb 12, 2025
·
Updated

A use-after-free flaw was found in X.Org and Xwayland. When changing an alarm, the values of the change mask are evaluated one after the other, changing the trigger values as requested, and eventually, SyncInitTrigger() is called. If one of the changes triggers an error, the function will return early, not adding the new sync object, possibly causing a use-after-free when the alarm eventually triggers.

Other sources

When changing an alarm, the values of the change mask are evaluated one after the other, changing the trigger values as requested and eventually, SyncInitTrigger() is called. If one of the changes triggers an error, the function will return early, not adding the new sync object. This can be used to cause a use after free when the alarm eventually triggers.

— Red Hat

Xorg: xwayland: use-after-free in syncinittrigger()

— Microsoft

Affected Software

36 affected componentsFixes available
Microsoft azl3 xorg-x11-server-Xwayland 24.1.6-1<24.1.6-1
24.1.6-1
Microsoft azl3 xorg-x11-server-Xwayland 24.1.1-3<24.1.6-1
24.1.6-1
Microsoft cbl2 xorg-x11-server 1.20.10-15<1.20.10-15
1.20.10-15
alpine/xorg-server<21.1.16-r0
21.1.16-r0
alpine/xorg-server<21.1.16-r0
21.1.16-r0
alpine/xorg-server<21.1.16-r0
21.1.16-r0
alpine/xorg-server<21.1.16-r0
21.1.16-r0
alpine/xwayland<24.1.6-r0
24.1.6-r0
alpine/xwayland<24.1.6-r0
24.1.6-r0
alpine/xwayland<24.1.6-r0
24.1.6-r0
alpine/xwayland<24.1.6-r0
24.1.6-r0
TigerVNC TigerVNC
X.Org X Server<21.1.16
X.Org Xwayland<24.1.6
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
debian/xorg-server
2:1.20.11-1+deb11u152:21.1.7-3+deb12u92:21.1.16-1
debian/xwayland<=2:22.1.9-1
2:24.1.6-1
debian/xorg-server<2:21.1.7-3+deb12u9
2:21.1.7-3+deb12u9
debian/xorg-server<2:21.1.16-1
2:21.1.16-1
debian/xorg-server<2:21.1.16-1
2:21.1.16-1
debian/xwayland*
debian/xwayland<2:24.1.6-1
2:24.1.6-1
debian/xwayland<2:24.1.6-1
2:24.1.6-1
ubuntu/xorg-server*
ubuntu/xorg-server<2:1.18.4-0ubuntu0.12+esm17
2:1.18.4-0ubuntu0.12+esm17
ubuntu/xorg-server-hwe-16.04<2:1.19.6-1ubuntu4.1~16.04.6+esm9
2:1.19.6-1ubuntu4.1~16.04.6+esm9
ubuntu/xorg-server<2:1.19.6-1ubuntu4.15+esm12
2:1.19.6-1ubuntu4.15+esm12
ubuntu/xorg-server-hwe-18.04<2:1.20.8-2ubuntu2.2~18.04.11+esm4
2:1.20.8-2ubuntu2.2~18.04.11+esm4
ubuntu/xorg-server<2:1.20.13-1ubuntu1~20.04.19
2:1.20.13-1ubuntu1~20.04.19
ubuntu/xorg-server<2:21.1.4-2ubuntu1.7~22.04.13
2:21.1.4-2ubuntu1.7~22.04.13
ubuntu/xwayland<2:22.1.1-1ubuntu0.17
2:22.1.1-1ubuntu0.17
ubuntu/xorg-server<2:21.1.12-1ubuntu1.2
2:21.1.12-1ubuntu1.2
ubuntu/xwayland<2:23.2.6-1ubuntu0.4
2:23.2.6-1ubuntu0.4
ubuntu/xorg-server<2:21.1.16-1ubuntu1
2:21.1.16-1ubuntu1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 24.1.6-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.20.10-15
  3. Upgrade

    Upgrade alpine/xorg-server to a version that resolves this vulnerability.

    Fixed in 21.1.16-r0
  4. Upgrade

    Upgrade alpine/xwayland to a version that resolves this vulnerability.

    Fixed in 24.1.6-r0
  5. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.20.11-1+deb11u15Fixed in 2:21.1.7-3+deb12u9Fixed in 2:21.1.16-1
  6. Upgrade

    Upgrade debian/xwayland to a version that resolves this vulnerability.

    Fixed in 2:24.1.6-1
  7. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.7-3+deb12u9
  8. Upgrade

    Upgrade debian/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.16-1
  9. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.18.4-0ubuntu0.12+esm17
  10. Upgrade

    Upgrade ubuntu/xorg-server-hwe-16.04 to a version that resolves this vulnerability.

    Fixed in 2:1.19.6-1ubuntu4.1~16.04.6+esm9
  11. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.19.6-1ubuntu4.15+esm12
  12. Upgrade

    Upgrade ubuntu/xorg-server-hwe-18.04 to a version that resolves this vulnerability.

    Fixed in 2:1.20.8-2ubuntu2.2~18.04.11+esm4
  13. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:1.20.13-1ubuntu1~20.04.19
  14. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.4-2ubuntu1.7~22.04.13
  15. Upgrade

    Upgrade ubuntu/xwayland to a version that resolves this vulnerability.

    Fixed in 2:22.1.1-1ubuntu0.17
  16. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.12-1ubuntu1.2
  17. Upgrade

    Upgrade ubuntu/xwayland to a version that resolves this vulnerability.

    Fixed in 2:23.2.6-1ubuntu0.4
  18. Upgrade

    Upgrade ubuntu/xorg-server to a version that resolves this vulnerability.

    Fixed in 2:21.1.16-1ubuntu1

Event History

Feb 12, 2025
Data Sourced
via Red Hat·02:23 PM
DescriptionSeverityAffected Software
Feb 25, 2025
CVE Published
via OSV·03:00 PM
Data Sourced
via OSV·03:00 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Mar 4, 2025
Data Sourced
via NVD·05:22 PM
Affected Software
Mar 10, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
WeaknessAffected Software
Updated
via NVD·01:15 PM
Affected Software
Mar 17, 2025
Updated
via NVD·02:15 AM
Affected Software
Updated
via NVD·03:15 AM
Affected Software
Updated
via NVD·05:15 AM
Affected Software
Mar 18, 2025
Event
via FIRST·12:00 AM
Apr 10, 2025
Updated
via NVD·07:19 PM
SeverityWeaknessAffected Software
May 8, 2025
Updated
via NVD·04:48 PM
SeverityWeaknessAffected Software
May 13, 2025
Updated
via NVD·03:15 PM
Affected Software
May 16, 2025
Updated
via NVD·11:15 PM
Affected Software
Apr 6, 2026
Updated
via NVD·01:17 PM
Affected Software
Jun 29, 2026
Updated
via NVD·09:16 PM
Affected Software
Aug 13, 2026
Updated
via Microsoft·06:52 AM
Weakness
Nov 5, 2026
Data Sourced
via OSV·10:31 AM
Weakness

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-26601?

CVE-2025-26601 is rated as high severity due to the potential for exploitation of the use-after-free flaw.

2

How do I fix CVE-2025-26601?

To address CVE-2025-26601, update the xorg-server and xwayland packages to the latest versions provided in your distribution.

3

What software is affected by CVE-2025-26601?

CVE-2025-26601 affects the xorg-server and xwayland packages on Debian systems.

4

Can CVE-2025-26601 lead to arbitrary code execution?

Yes, the use-after-free flaw in CVE-2025-26601 could potentially allow an attacker to execute arbitrary code.

5

Is there a temporary workaround for CVE-2025-26601?

Currently, no specific temporary workaround for CVE-2025-26601 is recommended besides applying the software updates promptly.

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