CVE-2025-26601
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by redhat
Exploit likelihood
0.40% (higher than 26% of CVEs)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
xserverbefore 21.1.16, from 22.0.0 before 24.1.6CVE List
xorg-x11-server-XwaylandNot specified
Not affected: from 0:24.1.5-3.el10_0 before *, from 0:23.2.7-3.el9_6 before *
CVE List
tigervncNot specified
Not affected: from 0:1.1.0-25.el6_10 before *, from 0:1.8.0-36.el7_9 before *, from 0:1.13.1-15.el8_10 before *, from 0:1.9.0-15.el8_2.13 before *, from 0:1.11.0-8.el8_4.12 before *, from 0:1.12.0-6.el8_6.13 before *
CVE List
xorg-x11-serverNot specified
Not affected: from 0:1.20.4-30.el7_9 before *, from 0:1.20.11-28.el9_6 before *
CVE List
tigervnc tigervncNot specifiedNVD
x.org x_serverbefore 21.1.16NVD
x.org xwaylandbefore 24.1.6NVD
redhat enterprise_linux7.0, 8.0, 9.0NVD

All scores

redhat7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Se encontró una falla de use-after-free en X.Org y Xwayland. Al cambiar una alarma, los valores de la máscara de cambio se evalúan uno tras otro, cambiando los valores de activación según lo solicitado y, finalmente, se llama a SyncInitTrigger(). Si uno de los cambios activa un error, la función regresará antes, sin agregar el nuevo objeto de sincronización, lo que posiblemente cause un use-after-free cuando finalmente se active la alarma.

References

https://access.redhat.com/errata/RHSA-2025:2500third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2502third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2861third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2862third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2865third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2866third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2873third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2874third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2875third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2879third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:2880third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2025:3976vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2025-26601 changed 2026-11-23CVE Terms of Use
NVDCVE-2025-26601 changed 2026-11-23Public domain