CVE-2024-21885: xorg-server · Heap-based Buffer Overflow
Affects xorg-serverSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 4 Nov 2026, 17:16 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 7.8 |
|---|
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 28 Feb 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| xorg-server | Affected
| Fixed in– |
Description
A flaw was found in X.Org server. In the XISendDeviceHierarchyEvent function, it is possible to exceed the allocated array length when certain new device IDs are added to the xXIHierarchyInfo struct. This can trigger a heap buffer overflow condition, which may lead to an application crash or remote code execution in SSH X11 forwarding environments.
References
- access.redhat.com/errata/RHSA-2024:0320 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0557 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0558 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0597 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0607 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0614 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0617 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0621 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0626 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:0629 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:2169 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:2170 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:2995 (opens in a new tab)
- access.redhat.com/errata/RHSA-2024:2996 (opens in a new tab)
- access.redhat.com/errata/RHSA-2025:12751 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2024-21885 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2256540 (opens in a new tab)
- security.netapp.com/advisory/ntap-20240503-0004/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IZ75X54CN4IFYMIV7OK3JVZ57FHQIGIC/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/01/msg00016.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EJBMCWQ54R6ZL3MYU2D2JBW6JMZL7BQW/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5J4H7CH565ALSZZYKOJFYDA5KFLG6NUK/ (opens in a new tab)