{"schemaVersion":3,"id":"CVE-2024-31082","aliases":["UBUNTU-CVE-2024-31082","DEBIAN-CVE-2024-31082","CGA-x5j2-46vg-c657","CGA-xg7g-96rc-6jp8"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2024-04-04T13:48:34.893Z","modified":"2025-11-20T07:19:02.338Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","exploitability":4.6,"impact":9.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","exploitability":4.6,"impact":9.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","exploitability":4.6,"impact":9.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","exploitability":4.6,"impact":9.2,"computed":true}]},"epss":{"probability":0.00338,"percentile":0.25807,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00338},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00338,"percentile":0.25807}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00338,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00338,"percentile":0.25807}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-126","name":"Buffer Over-read","description":"The product reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/126.html"}],"affected":[{"vendor":"chainguard","product":"xorg-server","name":"xorg-server","label":"xorg-server","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/xorg-server","purlType":"apk","versions":[{"text":"< 21.1.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 21.1.12-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"xorg-server","name":"xorg-server","label":"xorg-server","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/xorg-server","purlType":"apk","versions":[{"text":"< 21.1.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 21.1.12-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"xorg-server","name":"xorg-server","label":"xorg-server","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xorg-server","purlType":"deb","versions":[{"text":"< 2:21.1.7-3+deb12u7","noFixRecorded":false,"fixedIn":null},{"text":"< 2:21.1.11-3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:21.1.7-3+deb12u7 | < 2:21.1.11-3","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xorg-server","name":"xorg-server","label":"xorg-server","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xorg-server","purlType":"deb","versions":[{"text":"< 2:1.15.1-0ubuntu2.11+esm11","noFixRecorded":false,"fixedIn":null},{"text":"< 2:1.18.4-0ubuntu0.12+esm12","noFixRecorded":false,"fixedIn":null},{"text":"< 2:1.19.6-1ubuntu4.15+esm7","noFixRecorded":false,"fixedIn":null},{"text":"< 2:1.20.13-1ubuntu1~20.04.16","noFixRecorded":false,"fixedIn":null},{"text":"< 2:21.1.4-2ubuntu1.7~22.04.9","noFixRecorded":false,"fixedIn":null},{"text":"< 2:21.1.12-1ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 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","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xorg-server-hwe-16.04","name":"xorg-server-hwe-16.04","label":"xorg-server-hwe-16.04","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xorg-server-hwe-16.04","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xorg-server-hwe-18.04","name":"xorg-server-hwe-18.04","label":"xorg-server-hwe-18.04","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xorg-server-hwe-18.04","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"xwayland","name":"xwayland","label":"xwayland","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/xwayland","purlType":"deb","versions":[{"text":"< 2:22.1.1-1ubuntu0.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2:22.1.1-1ubuntu0.12","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2024-31082","label":"access.redhat.com/security/cve/CVE-2024-31082","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT","Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2271999","label":"bugzilla.redhat.com/show_bug.cgi?id=2271999","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT","REPORT"]},{"url":"https://lists.x.org/archives/xorg-announce/2024-April/003497.html","label":"lists.x.org/archives/xorg-announce/2024-April/003497.html","hostname":"lists.x.org","tags":["WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/03/13","label":"www.openwall.com/lists/oss-security/2024/04/03/13","hostname":"www.openwall.com","tags":["X Transferred","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2024/04/12/10","label":"www.openwall.com/lists/oss-security/2024/04/12/10","hostname":"www.openwall.com","tags":["X Transferred","WEB"]},{"url":"https://ubuntu.com/security/CVE-2024-31082","label":"ubuntu.com/security/CVE-2024-31082","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6721-1","label":"ubuntu.com/security/notices/USN-6721-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-31082","label":"www.cve.org/CVERecord?id=CVE-2024-31082","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-31082","label":"security-tracker.debian.org/tracker/CVE-2024-31082","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","label":"access.redhat.com/downloads/content/package-browser/","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31082.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31082.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31082","label":"nvd.nist.gov/vuln/detail/CVE-2024-31082","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://gitlab.freedesktop.org/xorg/xserver/","label":"gitlab.freedesktop.org/xorg/xserver/","hostname":"gitlab.freedesktop.org","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:13828-1","SUSE-SU-2024:1199-1","SUSE-SU-2024:1260-1","SUSE-SU-2024:1261-1","SUSE-SU-2024:1262-1","USN-6721-1"],"duplicates":[],"related":["CGA-Q763-6VV3-J2H3","CGA-WQCR-FX69-5WQP","OPENSUSE-SU-2024:13828-1","SUSE-SU-2024:1199-1","SUSE-SU-2024:1260-1","SUSE-SU-2024:1261-1","SUSE-SU-2024:1262-1","USN-6721-1"]},"timeline":[{"kind":"published","date":"2024-04-04T13:48:34.893Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-20T07:19:02.338Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:01:48.399Z","stale":false,"partial":false}}