CVE-2024-31081: xorg-server Buffer Over-read
Vulnerability summary
CVE-2024-31081 is a high (CVSS 7.3) Buffer Over-read vulnerability in xorg-server. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 42.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 28 · Related 11Timeline
- 04-04-2024PublishedVulnerability first disclosed.
- 20-11-2025Last modifiedVulnerability information updated.
Description
A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIPassiveGrabDevice() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- OSV · DebianEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- OSV · WolfiEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- OSV · ChainguardEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- NVDNIST7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
0.00 pp
From 0.52% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu4 products
- xorg-server< 2:1.15.1-0ubuntu2.11+esm11 | < 2:1.18.4-0ubuntu0.12+esm12 | < 2:1.19.6-1ubuntu4.15+esm7 | < 2:1.20.13-1ubuntu1~20.04.16 | < 2:21.1.4-2ubuntu1.7~22.04.9 | < 2:21.1.12-1ubuntu1
- xorg-server-hwe-16.04All versions (No fix recorded)
- xorg-server-hwe-18.04All versions (No fix recorded)
- xwayland< 2:22.1.1-1ubuntu0.12
Debian2 products
- xorg-server< 2:21.1.7-3+deb12u7 | < 2:21.1.11-3
- xwaylandAll versions (No fix recorded) | < 2:23.2.6-1
Chainguard1 product
- xorg-server< 21.1.12-r0
Wolfi1 product
- xorg-server< 21.1.12-r0
4 vendors · 8 products