CVE-2024-31080
Xorg-x11-server: heap buffer overread/data leakage in procxigetselectedevents
Reported by redhat · Published April 4, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tigervnc-icons | Amazon Linux | 1.8.0-24.amzn2.0.3 |
| xorg-x11-server-Xorg | Amazon Linux | 1.20.14-30.amzn2023.0.2, 1.20.4-22.amzn2.0.6 |
| xorg-x11-server-Xwayland | Amazon Linux | 1.20.4-22.amzn2.0.6 |
| xorg-x11-server-Xephyr | Amazon Linux | 1.20.14-30.amzn2023.0.2, 1.20.4-22.amzn2.0.6 |
| xorg-server | Wolfi | 21.1.12-r0 |
| xorg-x11-server-Xdmx | Amazon Linux | 1.20.14-30.amzn2023.0.2, 1.20.4-22.amzn2.0.6 |
| xorg-server | Chainguard | 21.1.12-r0 |
| tigervnc-server-minimal | Amazon Linux | 1.8.0-24.amzn2.0.3 |
| xorg-x11-server-Xvfb | Amazon Linux | 1.20.14-30.amzn2023.0.2, 1.20.4-22.amzn2.0.6 |
| xorg-x11-server-Xnest | Amazon Linux | 1.20.14-30.amzn2023.0.2, 1.20.4-22.amzn2.0.6 |
| xorg-server | Alpine | 21.1.12-r0 |
| xorg-x11-server-devel | Amazon Linux | 1.20.14-30.amzn2023.0.2, 1.20.4-22.amzn2.0.6 |
8 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 29.1.0 | ||
| Red Hat | Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | 0:1.1.0-25.el6_10.13 |
| Red Hat | Red Hat Enterprise Linux 7 | 0:1.20.4-29.el7_9 |
| Red Hat | Red Hat Enterprise Linux 7 | 0:1.8.0-33.el7_9 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.13.1-2.el8_9.10 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.20.11-23.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.13.1-10.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:21.1.3-16.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support | 0:1.9.0-15.el8_2.11 |
| Red Hat | Red Hat Enterprise Linux 8.2 Telecommunications Update Service | 0:1.9.0-15.el8_2.11 |
| Red Hat | Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | 0:1.9.0-15.el8_2.11 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:1.11.0-8.el8_4.10 |
| Red Hat | Red Hat Enterprise Linux 8.4 Telecommunications Update Service | 0:1.11.0-8.el8_4.10 |
| Red Hat | Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | 0:1.11.0-8.el8_4.10 |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support | 0:1.12.0-6.el8_6.11 |
| Red Hat | Red Hat Enterprise Linux 8.8 Extended Update Support | 0:1.12.0-15.el8_8.10 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.13.1-8.el9_4.3 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:23.2.7-1.el9 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.20.11-26.el9 |
| Red Hat | Red Hat Enterprise Linux 9.0 Extended Update Support | 0:1.11.0-22.el9_0.11 |
…and 57 more
Timeline
- Apr 3, 2024 CVE Published
- Apr 5, 2024 EPSS Score (30 in total, the first dated here)
- Apr 13, 2024 PoC Published (2 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (13 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (17 in total, the first dated here)
- Apr 29, 2026 Security Advisory (19 in total, the first dated here)
- Nov 4, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-31080
vulnetix vdb fixes CVE-2024-31080
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-31080/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2024:1785 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2036 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2037 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2038 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2039 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2040 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2041 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2042 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2080 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:2616 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:3258 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:3261 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:3343 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9093 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9122 vendor-advisoryx_refsource_REDHAT
- RHSA-2025:12751 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2271997 issue-trackingx_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2024/04/03/13 url
- http://www.openwall.com/lists/oss-security/2024/04/12/10 url
…and 4 more