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.
CVE-2024-21885
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2024-02-28. NVD baseline CVSS 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EG Risk
- —
- EPSS
- 70.0%
- KEV
- Not listed
Published
February 28, 2024
Last Modified
April 15, 2026
References (38)
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0320
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0557
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0558
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0597
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0607
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0614
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0617
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0621
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0626
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:0629
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:2169
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:2170
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:2995
- secalert@redhathttps://access.redhat.com/errata/RHSA-2024:2996
- secalert@redhathttps://access.redhat.com/errata/RHSA-2025:12751
Vendor Advisories for CVE-2024-21885(5)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2025:12751Red Hat Product SecurityHigh
Red Hat Security Advisory: tigervnc security update
- RHSA-2024:2996Red Hat Product SecurityMedium
Red Hat Security Advisory: xorg-x11-server-Xwayland security update
- RHSA-2024:2995Red Hat Product SecurityMedium
Red Hat Security Advisory: xorg-x11-server security update
- RHSA-2024:2169Red Hat Product SecurityMedium
Red Hat Security Advisory: xorg-x11-server security update
- RHSA-2024:2170Red Hat Product SecurityMedium
Red Hat Security Advisory: xorg-x11-server-Xwayland security update
Patch Availability(18)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(14)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2024-218852024-06-30
Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent
- Red HatRHSA-2024:0320IMPORTANT2024-01-16
RHSA-2024:0320 — Important
- Red HatRHSA-2024:0557IMPORTANT2024-01-16
RHSA-2024:0557 — Important
- Red HatRHSA-2024:0558IMPORTANT2024-01-16
RHSA-2024:0558 — Important
- Red HatRHSA-2024:0597IMPORTANT2024-01-16
RHSA-2024:0597 — Important
- Red HatRHSA-2024:0607IMPORTANT2024-01-16
RHSA-2024:0607 — Important
- Red HatRHSA-2024:0614IMPORTANT2024-01-16
RHSA-2024:0614 — Important
- Red HatRHSA-2024:0617IMPORTANT2024-01-16
RHSA-2024:0617 — Important
- Red HatRHSA-2024:0621IMPORTANT2024-01-16
RHSA-2024:0621 — Important
- Red HatRHSA-2024:0626IMPORTANT2024-01-16
RHSA-2024:0626 — Important
- Red HatRHSA-2024:0629IMPORTANT2024-01-16
RHSA-2024:0629 — Important
- UbuntuUSN-6587-1MEDIUM
X.Org X Server vulnerabilities
- UbuntuUSN-6587-2MEDIUM
X.Org X Server vulnerabilities
- UbuntuUSN-6587-5MEDIUM
X.Org X Server vulnerabilities
Data Freshness Timeline
(refreshed 11× in last 7d / 46× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 130 total refreshes for this CVE.
- 2026-07-22 23:20 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 10:11 UTCOSV refresh
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 16:35 UTCOSV refresh
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 04:09 UTCOSV refresh
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat · msrc
Same CWE
10 shownCWE-122
Frequently asked(5)
What is CVE-2024-21885?
When was CVE-2024-21885 disclosed?
Is CVE-2024-21885 actively exploited?
What is the CVSS score of CVE-2024-21885?
How do I remediate CVE-2024-21885?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2024-21885
Is Your Infrastructure Affected by CVE-2024-21885?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.