{"id":"ALPINE-CVE-2024-31083","details":"A use-after-free vulnerability was found in the ProcRenderAddGlyphs() function of Xorg servers. This issue occurs when AllocateGlyph() is called to store new glyphs sent by the client to the X server, potentially resulting in multiple entries pointing to the same non-refcounted glyphs. Consequently, ProcRenderAddGlyphs() may free a glyph, leading to a use-after-free scenario when the same glyph pointer is subsequently accessed. This flaw allows an authenticated attacker to execute arbitrary code on the system by sending a specially crafted request.","modified":"2026-10-27T08:33:41.299367057Z","published":"2024-04-05T12:15:37.577Z","upstream":["CVE-2024-31083"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-31083"}],"affected":[{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.1.12-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.1.12-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.1.12-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.1.12-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.1.12-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xorg-server","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/xorg-server?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"21.1.12-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.2.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.2.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.2.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.2.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.2.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.2.5-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2024-31083.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}