7.8

CVE-2024-21885: xorg-server Heap-based Buffer Overflow

CVSS: 7.8v3.1HighDeferred
AliasesUBUNTU-CVE-2024-21885DEBIAN-CVE-2024-21885CGA-p989-59mp-3gp5
Published 28-02-2024Last modified 06-11-2025

Vulnerability summary

CVE-2024-21885 is a high (CVSS 7.8) Heap-based Buffer Overflow vulnerability in xorg-server. EPSS estimates a 1.42% chance of exploitation in the next 30 days, higher than 72.4% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
1.42%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 28 · Related 12

Timeline

  1. 28-02-2024
    PublishedVulnerability first disclosed.
  2. 06-11-2025
    Last 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

6 scores · 6 sources · 1 version

EPSS trend

Probability

1.42%

Chance of exploitation in the next 30 days

Percentile

72%

Versus all other CVEs

30-day change

0.00 pp

From 1.42% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.42%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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
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

4 vendors · 8 products

References

32 links
Show all 32 references