{"id":"ALPINE-CVE-2025-26595","details":"A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the data regardless of the size.","modified":"2026-11-03T06:32:13.707719742Z","published":"2025-02-25T16:15:38.390Z","upstream":["CVE-2025-26595"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2025-26595"}],"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-26595.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-26595.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-26595.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-26595.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-26595.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-26595.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-26595.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-26595.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"}]}