CVE-2025-26595 HIGH

CVE-2025-26595: Xorg: xwayland: buffer overflow in xkbvmodmasktext()

Vendor Red Hat
Product Red Hat Enterprise Linux 6
Weakness CWE-121
Published February 25, 2025
Last update April 6, 2026

CVSS base score

7.8/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 25, 2025 CVE published
April 6, 2026 Record updated

Related vulnerabilities

04Related CVE