{"id":"CVE-2024-31082","summary":"Xorg-x11-server: heap buffer overread/data leakage in procappledricreatepixmap","details":"A heap-based buffer over-read vulnerability was found in the X.org server's ProcAppleDRICreatePixmap() 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.","modified":"2026-05-15T04:09:32.293860298Z","published":"2024-04-04T13:48:34.893Z","related":["CGA-wqcr-fx69-5wqp","SUSE-SU-2024:1199-1","SUSE-SU-2024:1260-1","SUSE-SU-2024:1261-1","SUSE-SU-2024:1262-1","openSUSE-SU-2024:13828-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31082.json","cna_assigner":"redhat","cwe_ids":["CWE-126"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/04/03/13"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/04/12/10"},{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.x.org/archives/xorg-announce/2024-April/003497.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2024-31082"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31082.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31082"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2271999"},{"type":"PACKAGE","url":"https://gitlab.freedesktop.org/xorg/xserver/"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H"}]}