CVE-2024-31081: Xorg-x11-server: heap buffer overread/data leakage in procxipassivegrabdevice
Vulnerability summary
CVE-2024-31081 is a high (CVSS 7.3) Buffer Over-read vulnerability in xorg-server. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 48.9% of scored vulnerabilities.
Not severe (CVSS 7.3, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 28 · Related 11Timeline
- 04-04-2024PublishedVulnerability first disclosed.
- 23-11-2026Last 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
7 scores · 7 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
- OSV · AlpineEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
EPSS trend
Probability
0.58%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
Increase +0.06 pp
From 0.52% 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+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
Alpine2 products
- xorg-server< 21.1.12-r0
- xwayland< 23.2.5-r0
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
5 vendors · 10 products