# CVE-2024-31081: Xorg-x11-server: heap buffer overread/data leakage in procxipassivegrabdevice

- Severity: High 7.3 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-04-04T13:48:12.848Z
- Modified: 2026-11-23T14:17:20.050Z
- Weaknesses: CWE-126
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- xorg-server: 1.7.0
- tigervnc: no versions given (not affected: from 0:1.1.0-25.el6_10.13 before *; from 0:1.8.0-33.el7_9 before *; from 0:1.13.1-2.el8_9.10 before *; from 0:1.13.1-10.el8_10 before *; from 0:1.9.0-15.el8_2.11 before *; from 0:1.11.0-8.el8_4.10 before *; from 0:1.12.0-6.el8_6.11 before *; from 0:1.12.0-15.el8_8.10 before *; from 0:1.13.1-8.el9_4.3 before *; from 0:1.11.0-22.el9_0.11 before *; from 0:1.12.0-14.el9_2.8 before *)
- xorg-x11-server: no versions given (not affected: from 0:1.20.4-29.el7_9 before *; from 0:1.20.11-23.el8_10 before *; from 0:1.20.11-26.el9 before *)
- xorg-x11-server-Xwayland: no versions given (not affected: from 0:21.1.3-16.el8_10 before *; from 0:23.2.7-1.el9 before *)

## References

- <https://access.redhat.com/errata/RHSA-2024:1785> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2036> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2037> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2038> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2039> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2040> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2041> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2042> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2080> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:2616> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:3258> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:3261> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:3343> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:9093> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2024:9122> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:12751> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2024-31081> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2271998> (issue-tracking)
- <http://www.openwall.com/lists/oss-security/2024/04/03/13>
- <http://www.openwall.com/lists/oss-security/2024/04/12/10>
- <https://lists.debian.org/debian-lts-announce/2024/04/msg00009.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6TF7FZXOKHIKPZXYIMSQXKVH7WITKV3V/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EBLQJIAXEDMEGRGZMSH7CWUJHSVKUWLV/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/P73U4DAAWLFZAPD75GLXTGMSTTQWW5AP/>

## Sources

- CVE List: [CVE-2024-31081](https://www.cve.org/CVERecord?id=CVE-2024-31081), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2024-31081](https://nvd.nist.gov/vuln/detail/CVE-2024-31081), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2024-31081 · Whole record: https://cve.day/CVE-2024-31081.json · Rebuilt by cve.day 2026-11-25T22:58:38.756Z
