🛡️ CVE-2024-31080 on Ubuntu — xorg-server
Description
A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIGetSelectedEvents() 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.
Distribution advisory
This page covers CVE-2024-31080 as tracked by Ubuntu, for the package xorg-server. The fix is available in version 2:21.1.12-1ubuntu1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity low, availability high.
Affected software and timeline
Affected software: xorg-server (fixed in 2:21.1.12-1ubuntu1), xorg-server-hwe-16.04, xorg-server-hwe-18.04 and xwayland (fixed in 2:22.1.1-1ubuntu0.12). Published on 4 March 2024 and last revised on 22 April 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
CVE-2024-31080 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| xorg-server | — | 2:21.1.12-1ubuntu1 |
| xorg-server-hwe-16.04 | — | — |
| xorg-server-hwe-18.04 | — | — |
| xwayland | — | 2:22.1.1-1ubuntu0.12 |
References
Similar Threats
- Unknown BELL-CVE-2025-26594
- Unknown BELL-CVE-2025-26595
- Unknown BELL-CVE-2025-26596
- Unknown BELL-CVE-2025-26597
- Unknown BELL-CVE-2024-9632
Site Security Check
Is xorg-server part of your stack?
UBUNTU-CVE-2024-31080 is rated CVSS 7.3 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.