# CVE-2024-21886: Xorg-x11-server: heap buffer overflow in disabledevice

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Published: 2024-02-28T12:13:12.555Z
- Modified: 2026-11-04T21:17:38.107Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- xorg-server: 1.21.1.7
- tigervnc: no versions given (not affected: from 0:1.1.0-25.el6_10.13 before *; from 0:1.8.0-31.el7_9 before *; from 0:1.13.1-2.el8_9.7 before *; from 0:1.9.0-15.el8_2.9 before *; from 0:1.11.0-8.el8_4.8 before *; from 0:1.12.0-6.el8_6.9 before *; from 0:1.12.0-15.el8_8.7 before *; from 0:1.13.1-3.el9_3.6 before *; from 0:1.11.0-22.el9_0.8 before *; from 0:1.12.0-14.el9_2.5 before *)
- xorg-x11-server: no versions given (not affected: from 0:1.20.4-27.el7_9 before *; from 0:1.20.11-22.el8 before *; from 0:1.20.11-24.el9 before *)
- xorg-x11-server-Xwayland: no versions given (not affected: from 0:21.1.3-15.el8 before *; from 0:22.1.9-5.el9 before *)
- xorg xserver: *
- xorg xwayland: *

## References

- <https://access.redhat.com/errata/RHSA-2024:0320> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0557> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0558> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0597> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0607> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0614> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0617> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0621> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0626> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:0629> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2169> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2170> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2995> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2996> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:12751> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-21886> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2256542> (issue-tracking)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZ75X54CN4IFYMIV7OK3JVZ57FHQIGIC/>
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00016.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EJBMCWQ54R6ZL3MYU2D2JBW6JMZL7BQW/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5J4H7CH565ALSZZYKOJFYDA5KFLG6NUK/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TZ2IJJDHJETNE76VUX4G7UI5EG5HYFEH/>

## Sources

- CVE List: [CVE-2024-21886](https://www.cve.org/CVERecord?id=CVE-2024-21886), CVE Terms of Use, modified 2026-11-04
- NVD: [CVE-2024-21886](https://nvd.nist.gov/vuln/detail/CVE-2024-21886), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2024-21886 · Whole record: https://cve.day/CVE-2024-21886.json · Rebuilt by cve.day 2026-11-25T22:58:37.109Z
