CVE-2024-21886
published 2024-02-28CVE-2024-21886: A heap buffer overflow flaw was found in the DisableDevice function in the X.Org server. This issue may lead to an application crash or, in some circumstances…
PriorityP345high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
1.42%
69.9th percentile
A heap buffer overflow flaw was found in the DisableDevice function in the X.Org server. This issue may lead to an application crash or, in some circumstances, remote code execution in SSH X11 forwarding environments.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | xorg-server | < xorg-server 2:21.1.7-3+deb12u5 (bookworm) | xorg-server 2:21.1.7-3+deb12u5 (bookworm) |
| debian | xwayland | < xorg-server 2:21.1.7-3+deb12u5 (bookworm) | xorg-server 2:21.1.7-3+deb12u5 (bookworm) |
| msrc | cbl2_xorg-x11-server_1.20.10-12_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_xorg-x11-server_1.20.10-15_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| x.org | xorg-server | >= 0 < 2:1.20.11-1+deb11u11 | 2:1.20.11-1+deb11u11 |
| x.org | xorg-server | >= 0 < 2:21.1.7-3+deb12u5 | 2:21.1.7-3+deb12u5 |
| x.org | xorg-server | >= 0 < 2:21.1.11-1 | 2:21.1.11-1 |
| x.org | xorg-server | >= 0 < 2:21.1.11-1 | 2:21.1.11-1 |
| x.org | xorg-server | >= 0 < 2:1.20.13-1ubuntu1~20.04.15 | 2:1.20.13-1ubuntu1~20.04.15 |
| x.org | xorg-server | >= 0 < 2:1.20.13-1ubuntu1~20.04.14 | 2:1.20.13-1ubuntu1~20.04.14 |
| x.org | xorg-server | >= 0 < 2:21.1.4-2ubuntu1.7~22.04.8 | 2:21.1.4-2ubuntu1.7~22.04.8 |
| x.org | xorg-server | >= 0 < 2:21.1.4-2ubuntu1.7~22.04.7 | 2:21.1.4-2ubuntu1.7~22.04.7 |
| x.org | xorg-server | >= 0 < 2:1.15.1-0ubuntu2.11+esm9 | 2:1.15.1-0ubuntu2.11+esm9 |
| x.org | xorg-server | >= 0 < 2:1.18.4-0ubuntu0.12+esm10 | 2:1.18.4-0ubuntu0.12+esm10 |
| x.org | xorg-server | >= 0 < 2:1.18.4-0ubuntu0.12+esm9 | 2:1.18.4-0ubuntu0.12+esm9 |
| x.org | xorg-server | >= 0 < 2:1.19.6-1ubuntu4.15+esm5 | 2:1.19.6-1ubuntu4.15+esm5 |
| x.org | xorg-server | >= 0 < 2:1.19.6-1ubuntu4.15+esm4 | 2:1.19.6-1ubuntu4.15+esm4 |
| x.org | xwayland | >= 0 < 2:23.2.4-1 | 2:23.2.4-1 |
| x.org | xwayland | >= 0 < 2:23.2.4-1 | 2:23.2.4-1 |
| x.org | xwayland | >= 0 < 2:22.1.1-1ubuntu0.11 | 2:22.1.1-1ubuntu0.11 |
| x.org | xwayland | >= 0 < 2:22.1.1-1ubuntu0.10 | 2:22.1.1-1ubuntu0.10 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_debian7.8HIGH
vendor_msrc7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
X.Org X Server vulnerabilities
vendor_ubuntu·2024-03-13·CVSS 7.6
CVE-2024-21886 [HIGH] X.Org X Server vulnerabilities
Title: X.Org X Server vulnerabilities
Summary: Several security issues were fixed in X.Org X Server.
USN-6587-1 fixed several vulnerabilities in X.Org. This update provides
the corresponding update for Ubuntu 14.04 LTS.
Original advisory details:
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the RRChangeOutputProperty and
RRChangeProviderProperty APIs. An attacker could possibly use this issue to
cause the X Server to crash, or obtain sensitive information.
(CVE-2023-6478)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary
Microsoft
Xorg-x11-server: heap buffer overflow in disabledevice
vendor_msrc·2024-02-13·CVSS 7.8
CVE-2024-21886 [HIGH] CWE-122 Xorg-x11-server: heap buffer overflow in disabledevice
Xorg-x11-server: heap buffer overflow in disabledevice
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://lear
Ubuntu
X.Org X Server regression
vendor_ubuntu·2024-02-01·CVSS 9.8
[CRITICAL] X.Org X Server regression
Title: X.Org X Server regression
Summary: A regression was fixed in X.Org X Server.
USN-6587-1 fixed vulnerabilities in X.Org X Server. The fix was incomplete
resulting in a possible regression. This update fixes the problem.
Original advisory details:
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary code. (CVE-2023-6816)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
reattaching to a different master device. An attacker could use this issue
to cause the X Server to crash, leading to a denial of service, or possibly
execute arbitrary code. (CVE-
Ubuntu
X.Org X Server regression
vendor_ubuntu·2024-01-30·CVSS 9.8
[CRITICAL] X.Org X Server regression
Title: X.Org X Server regression
Summary: A regression was fixed in X.Org X Server
USN-6587-1 fixed vulnerabilities in X.Org X Server. The fix was incomplete
resulting in a possible regression. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary code. (CVE-2023-6816)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
reattaching to a different master device. An attacker could use this issue
to cause the X Server to crash, leading to a denial of service, or po
Ubuntu
X.Org X Server vulnerabilities
vendor_ubuntu·2024-01-22·CVSS 9.8
CVE-2023-6816 [CRITICAL] X.Org X Server vulnerabilities
Title: X.Org X Server vulnerabilities
Summary: Several security issues were fixed in X.Org X Server.
USN-6587-1 fixed several vulnerabilities in X.Org. This update provides
the corresponding update for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
Original advisory details:
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary code. (CVE-2023-6816)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
reattaching to a different master device. An attacker could use this issue
to cause the X Server to crash, leading to a denial of service, or possibly
execute arbitr
Red Hat
xorg-x11-server: heap buffer overflow in DisableDevice
vendor_redhat·2024-01-16·CVSS 7.8
CVE-2024-21886 [HIGH] CWE-122 xorg-x11-server: heap buffer overflow in DisableDevice
xorg-x11-server: heap buffer overflow in DisableDevice
A heap buffer overflow flaw was found in the DisableDevice function in the X.Org server. This issue may lead to an application crash or, in some circumstances, remote code execution in SSH X11 forwarding environments.
A heap buffer overflow flaw was found in the DisableDevice function in the X.Org server. This issue may lead to an application crash or, in some circumstances, remote code execution in SSH X11 forwarding environments.
Statement: Xorg server does not run with root privileges in Red Hat Enterprise Linux 8 and 9, therefore, Red Hat Enterprise Linux 8 and 9 have been rated with a moderate severity.
Mitigation: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Produ
BSD
OpenBSD 7.3 Errata 025: SECURITY FIX
bsd_advisories·2024-01-16·CVSS 9.8
CVE-2023-6816 [CRITICAL] OpenBSD 7.3 Errata 025: SECURITY FIX
OpenBSD 7.3 Errata 025: SECURITY FIX
025: SECURITY FIX: January 16, 2024
All architectures Fix multiple xserver heap buffer overflows, out of bounds memory accesses and memory corruption. CVE-2023-6816 CVE-2024-0229 CVE-2024-21885 CVE-2024-21886 CVE-2024-0408 CVE-2024-0409
Ubuntu
X.Org X Server vulnerabilities
vendor_ubuntu·2024-01-16·CVSS 9.8
CVE-2024-21886 [CRITICAL] X.Org X Server vulnerabilities
Title: X.Org X Server vulnerabilities
Summary: Several security issues were fixed in X.Org X Server.
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary code. (CVE-2023-6816)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
reattaching to a different master device. An attacker could use this issue
to cause the X Server to crash, leading to a denial of service, or possibly
execute arbitrary code. (CVE-2024-0229)
Olivier Fourdan and Donn Seeley discovered that the X.Org X Server
incorrectly labeled GLX PBuffers when used with SELinux. An attacker could
BSD
OpenBSD 7.4 Errata 012: SECURITY FIX
bsd_advisories·2024-01-16·CVSS 9.8
CVE-2023-6816 [CRITICAL] OpenBSD 7.4 Errata 012: SECURITY FIX
OpenBSD 7.4 Errata 012: SECURITY FIX
012: SECURITY FIX: January 16, 2024
All architectures Fix multiple xserver heap buffer overflows, out of bounds memory accesses and memory corruption. CVE-2023-6816 CVE-2024-0229 CVE-2024-21885 CVE-2024-21886 CVE-2024-0408 CVE-2024-0409
Debian
CVE-2024-21886: xorg-server - A heap buffer overflow flaw was found in the DisableDevice function in the X.Org...
vendor_debian·2024·CVSS 7.8
CVE-2024-21886 [HIGH] CVE-2024-21886: xorg-server - A heap buffer overflow flaw was found in the DisableDevice function in the X.Org...
A heap buffer overflow flaw was found in the DisableDevice function in the X.Org server. This issue may lead to an application crash or, in some circumstances, remote code execution in SSH X11 forwarding environments.
Scope: local
bookworm: resolved (fixed in 2:21.1.7-3+deb12u5)
bullseye: resolved (fixed in 2:1.20.11-1+deb11u11)
forky: resolved (fixed in 2:21.1.11-1)
sid: resolved (fixed in 2:21.1.11-1)
trixie: resolved (fixed in 2:21.1.11-1)
OSV
xorg-server vulnerabilities
osv·2024-03-13·CVSS 7.5
CVE-2023-6478 [HIGH] xorg-server vulnerabilities
xorg-server vulnerabilities
USN-6587-1 fixed several vulnerabilities in X.Org. This update provides
the corresponding update for Ubuntu 14.04 LTS.
Original advisory details:
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the RRChangeOutputProperty and
RRChangeProviderProperty APIs. An attacker could possibly use this issue to
cause the X Server to crash, or obtain sensitive information.
(CVE-2023-6478)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary code. (CVE-2023-6816)
Jan-Niklas Sohn discovered that the X.Org X Server
OSV
CVE-2024-21886: A heap buffer overflow flaw was found in the DisableDevice function in the X
osv·2024-02-28·CVSS 7.8
CVE-2024-21886 [HIGH] CVE-2024-21886: A heap buffer overflow flaw was found in the DisableDevice function in the X
A heap buffer overflow flaw was found in the DisableDevice function in the X.Org server. This issue may lead to an application crash or, in some circumstances, remote code execution in SSH X11 forwarding environments.
GHSA
GHSA-vx3h-cj8w-2h2c: A heap buffer overflow flaw was found in the DisableDevice function in the X
ghsa_unreviewed·2024-02-28
CVE-2024-21886 [HIGH] CWE-122 GHSA-vx3h-cj8w-2h2c: A heap buffer overflow flaw was found in the DisableDevice function in the X
A heap buffer overflow flaw was found in the DisableDevice function in the X.Org server. This issue may lead to an application crash or, in some circumstances, remote code execution in SSH X11 forwarding environments.
OSV
xorg-server, xwayland regression
osv·2024-02-01·CVSS 9.8
CVE-2023-6816 [CRITICAL] xorg-server, xwayland regression
xorg-server, xwayland regression
USN-6587-1 fixed vulnerabilities in X.Org X Server. The fix was incomplete
resulting in a possible regression. This update fixes the problem.
Original advisory details:
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary code. (CVE-2023-6816)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
reattaching to a different master device. An attacker could use this issue
to cause the X Server to crash, leading to a denial of service, or possibly
execute arbitrary code. (CVE-2024-0229)
Olivier Fourdan and Donn Seeley discover
OSV
xorg-server, xwayland regression
osv·2024-01-30·CVSS 9.8
[CRITICAL] xorg-server, xwayland regression
xorg-server, xwayland regression
USN-6587-1 fixed vulnerabilities in X.Org X Server. The fix was incomplete
resulting in a possible regression. This update fixes the problem.
We apologize for the inconvenience.
Original advisory details:
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary code. (CVE-2023-6816)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
reattaching to a different master device. An attacker could use this issue
to cause the X Server to crash, leading to a denial of service, or possibly
execute arbitrary code. (CVE-2024-0229)
Oli
OSV
xorg-server vulnerabilities
osv·2024-01-22·CVSS 9.8
CVE-2023-6816 [CRITICAL] xorg-server vulnerabilities
xorg-server vulnerabilities
USN-6587-1 fixed several vulnerabilities in X.Org. This update provides
the corresponding update for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
Original advisory details:
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary code. (CVE-2023-6816)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
reattaching to a different master device. An attacker could use this issue
to cause the X Server to crash, leading to a denial of service, or possibly
execute arbitrary code. (CVE-2024-0229)
Olivier Fourdan and Donn Seeley discovered that
OSV
xorg-server, xwayland vulnerabilities
osv·2024-01-16·CVSS 9.8
CVE-2023-6816 [CRITICAL] xorg-server, xwayland vulnerabilities
xorg-server, xwayland vulnerabilities
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
memory when processing the DeviceFocusEvent and ProcXIQueryPointer APIs. An
attacker could possibly use this issue to cause the X Server to crash,
obtain sensitive information, or execute arbitrary code. (CVE-2023-6816)
Jan-Niklas Sohn discovered that the X.Org X Server incorrectly handled
reattaching to a different master device. An attacker could use this issue
to cause the X Server to crash, leading to a denial of service, or possibly
execute arbitrary code. (CVE-2024-0229)
Olivier Fourdan and Donn Seeley discovered that the X.Org X Server
incorrectly labeled GLX PBuffers when used with SELinux. An attacker could
use this issue to cause the X Server to crash, leading to a deni
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://access.redhat.com/errata/RHSA-2024:0320https://access.redhat.com/errata/RHSA-2024:0557https://access.redhat.com/errata/RHSA-2024:0558https://access.redhat.com/errata/RHSA-2024:0597https://access.redhat.com/errata/RHSA-2024:0607https://access.redhat.com/errata/RHSA-2024:0614https://access.redhat.com/errata/RHSA-2024:0617https://access.redhat.com/errata/RHSA-2024:0621https://access.redhat.com/errata/RHSA-2024:0626https://access.redhat.com/errata/RHSA-2024:0629https://access.redhat.com/errata/RHSA-2024:2169https://access.redhat.com/errata/RHSA-2024:2170https://access.redhat.com/errata/RHSA-2024:2995https://access.redhat.com/errata/RHSA-2024:2996https://access.redhat.com/errata/RHSA-2025:12751https://access.redhat.com/security/cve/CVE-2024-21886https://bugzilla.redhat.com/show_bug.cgi?id=2256542https://access.redhat.com/errata/RHSA-2024:0320https://access.redhat.com/errata/RHSA-2024:0557https://access.redhat.com/errata/RHSA-2024:0558https://access.redhat.com/errata/RHSA-2024:0597https://access.redhat.com/errata/RHSA-2024:0607https://access.redhat.com/errata/RHSA-2024:0614https://access.redhat.com/errata/RHSA-2024:0617https://access.redhat.com/errata/RHSA-2024:0621https://access.redhat.com/errata/RHSA-2024:0626https://access.redhat.com/errata/RHSA-2024:0629https://access.redhat.com/errata/RHSA-2024:2169https://access.redhat.com/errata/RHSA-2024:2170https://access.redhat.com/errata/RHSA-2024:2995https://access.redhat.com/errata/RHSA-2024:2996https://access.redhat.com/security/cve/CVE-2024-21886https://bugzilla.redhat.com/show_bug.cgi?id=2256542https://lists.debian.org/debian-lts-announce/2024/01/msg00016.htmlhttps://lists.fedoraproject.org/archives/list/[email protected]/message/5J4H7CH565ALSZZYKOJFYDA5KFLG6NUK/https://lists.fedoraproject.org/archives/list/[email protected]/message/EJBMCWQ54R6ZL3MYU2D2JBW6JMZL7BQW/https://lists.fedoraproject.org/archives/list/[email protected]/message/IZ75X54CN4IFYMIV7OK3JVZ57FHQIGIC/https://lists.fedoraproject.org/archives/list/[email protected]/message/TZ2IJJDHJETNE76VUX4G7UI5EG5HYFEH/
2024-02-28
Published