CVE-2024-21885: Xorg-x11-server: heap buffer overflow in xisenddevicehierarchyevent
Vulnerability summary
CVE-2024-21885 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in xorg-server. EPSS estimates a 1.41% chance of exploitation in the next 30 days, higher than 73.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 12Timeline
- 28-02-2024PublishedVulnerability first disclosed.
- 04-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.41%
Chance of exploitation in the next 30 days
Percentile
74%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 1.42% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu4 products
- xorg-server< 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
- xorg-server-hwe-16.04All versions (No fix recorded)
- xorg-server-hwe-18.04All versions (No fix recorded)
- xwayland< 2:22.1.1-1ubuntu0.10 | < 2:23.2.4-1
Alpine2 products
- xorg-server< 21.1.11-r0
- xwayland< 23.2.4-r0
Debian2 products
- xorg-server< 2:21.1.7-3+deb12u5 | < 2:21.1.11-1
- xwaylandAll versions (No fix recorded) | < 2:23.2.4-1
Chainguard1 product
- xorg-server< 21.1.11-r0
Wolfi1 product
- xorg-server< 21.1.11-r0
5 vendors · 10 products