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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-02-28 · Modified: 2026-11-04
- Aliases: UBUNTU-CVE-2024-21886, DEBIAN-CVE-2024-21886, CGA-m647-g2gj-m67h, CGA-qccj-f5hp-6hv7, ALPINE-CVE-2024-21886
- Record: https://cvemate.com/vulnerability/CVE-2024-21886 · JSON: https://cvemate.com/vulnerability/CVE-2024-21886/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.407%, percentile 73.548%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine xorg-server (Alpine Linux): \< 21.1.11-r0
- alpine xwayland (Alpine Linux): \< 23.2.4-r0
- chainguard xorg-server (Chainguard): \< 21.1.11-r0
- wolfi xorg-server (Wolfi): \< 21.1.11-r0
- debian xorg-server (Debian): \< 2:21.1.7-3+deb12u5 \| \< 2:21.1.11-1
- debian xwayland (Debian): All versions (No fix recorded) \| \< 2:23.2.4-1
- ubuntu xorg-server (Ubuntu): \< 2:1.15.1-0ubuntu2.11+esm9 \| \< 2:1.18.4-0ubuntu0.12+esm9 \| \< 2:1.19.6-1ubuntu4.15+esm4 \| \< 2:1.20.13-1ubuntu1~20.04.14 \| \< 2:21.1.4-2ubuntu1.7~22.04.7
- ubuntu xorg-server-hwe-16.04 (Ubuntu): All versions (No fix recorded)
- ubuntu xorg-server-hwe-18.04 (Ubuntu): All versions (No fix recorded)
- ubuntu xwayland (Ubuntu): \< 2:22.1.1-1ubuntu0.10 \| \< 2:23.2.4-1

## References (first 20 of 30)

- <https://access.redhat.com/errata/RHSA-2024:0320>
- <https://access.redhat.com/errata/RHSA-2024:0557>
- <https://access.redhat.com/errata/RHSA-2024:0558>
- <https://access.redhat.com/errata/RHSA-2024:0597>
- <https://access.redhat.com/errata/RHSA-2024:0607>
- <https://access.redhat.com/errata/RHSA-2024:0614>
- <https://access.redhat.com/errata/RHSA-2024:0617>
- <https://access.redhat.com/errata/RHSA-2024:0621>
- <https://access.redhat.com/errata/RHSA-2024:0626>
- <https://access.redhat.com/errata/RHSA-2024:0629>
- <https://access.redhat.com/errata/RHSA-2024:2169>
- <https://access.redhat.com/errata/RHSA-2024:2170>
- <https://access.redhat.com/errata/RHSA-2024:2995>
- <https://access.redhat.com/errata/RHSA-2024:2996>
- <https://access.redhat.com/errata/RHSA-2025:12751>
- <https://access.redhat.com/security/cve/CVE-2024-21886>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2256542>
- <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/>

---

Data as of 2026-12-05T04:23:53.487Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
