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.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 2 - Core | xorg-x11-server | 2025-03-08 23:17 | ALAS2-2025-2791 |
Amazon Linux 2023 | xorg-x11-server | 2025-03-06 23:13 | ALAS2023-2025-892 |
Amazon Linux 2023 | xorg-x11-server-Xwayland | 2025-03-06 23:13 | ALAS2023-2025-891 |
Amazon Linux 2023 | xorg-x11-server-Xwayland | 2025-03-13 04:48 | ALAS2023-2025-895 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 4.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
NVD | CVSSv3 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |