{"id":"ALPINE-CVE-2025-26598","details":"An out-of-bounds write flaw was found in X.Org and Xwayland. The function GetBarrierDevice() searches for the pointer device based on its device ID and returns the matching value, or supposedly NULL, if no match was found. However, the code will return the last element of the list if no matching device ID is found, which can lead to out-of-bounds memory access.","modified":"2026-11-03T06:32:13.659970317Z","published":"2025-02-25T16:15:38.977Z","upstream":["CVE-2025-26598"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2025-26598"}],"affected":[{"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.16-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-26598.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.16-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-26598.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.16-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-26598.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.16-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-26598.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"24.1.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-26598.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"24.1.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-26598.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"24.1.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-26598.json"}},{"package":{"name":"xwayland","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/xwayland?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"24.1.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-26598.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"}]}