CVE-2024-21885Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent
- 7.8HighCVSS base score
- 1.4%Exploitation in 30 daysEPSS · top 27% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 57 days later
· 57 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.4% · top 27% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
xorg-server
- affected < 21.1.11
- unaffected 21.1.11 – < *
xwayland
- affected < 23.2.4
- unaffected 23.2.4 – < *
Red Hat · Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION
- unaffected 0:1.1.0-25.el6_10.13 – < *
Red Hat · Red Hat Enterprise Linux 7
- unaffected 0:1.20.4-27.el7_9 – < *
Red Hat · Red Hat Enterprise Linux 7
- unaffected 0:1.8.0-31.el7_9 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:1.13.1-2.el8_9.7 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:1.20.11-22.el8 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:21.1.3-15.el8 – < *
Red Hat · Red Hat Enterprise Linux 8.2 Advanced Update Support
- unaffected 0:1.9.0-15.el8_2.9 – < *
Red Hat · Red Hat Enterprise Linux 8.2 Telecommunications Update Service
- unaffected 0:1.9.0-15.el8_2.9 – < *
Red Hat · Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
- unaffected 0:1.9.0-15.el8_2.9 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- unaffected 0:1.11.0-8.el8_4.8 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Telecommunications Update Service
- unaffected 0:1.11.0-8.el8_4.8 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
- unaffected 0:1.11.0-8.el8_4.8 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support
- unaffected 0:1.12.0-6.el8_6.9 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Support
- unaffected 0:1.12.0-15.el8_8.7 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:1.13.1-3.el9_3.6 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:1.20.11-24.el9 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:22.1.9-5.el9 – < *
Red Hat · Red Hat Enterprise Linux 9.0 Extended Update Support
- unaffected 0:1.11.0-22.el9_0.8 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Extended Update Support
- unaffected 0:1.12.0-14.el9_2.5 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: unknown
What to do
Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References
References22
- RHSA-2024:0320 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0557 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0558 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0597 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0607 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0614 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0617 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0621 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0626 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:0629 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2169 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2170 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2995 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2024:2996 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2025:12751 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-21885 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2256540 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://security.netapp.com/advisory/ntap-20240503-0004/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IZ75X54CN4IFYMIV7OK3JVZ57FHQIGIC/ (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2024/01/msg00016.html (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/EJBMCWQ54R6ZL3MYU2D2JBW6JMZL7BQW/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5J4H7CH565ALSZZYKOJFYDA5KFLG6NUK/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-19496 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-21885)Record last updated .