CVE-2025-26595

Public on 2025-02-25
Modified on 2025-02-28
Description
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.
Severity
Medium severity
Medium
CVSS v3 Base Score
4.5
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
HAQM Linux 1 xorg-x11-server No Fix Planned
HAQM Linux 2 - Core xorg-x11-server 2025-03-08 ALAS2-2025-2791 Fixed
HAQM Linux 2023 xorg-x11-server 2025-03-06 ALAS2023-2025-892 Fixed
HAQM Linux 2023 xorg-x11-server-Xwayland 2025-03-06 ALAS2023-2025-891 Fixed
HAQM Linux 2023 xorg-x11-server-Xwayland 2025-03-13 ALAS2023-2025-895 Fixed

CVSS Scores

Score Type Score Vector
HAQM 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