All reports
High

Xorg: xwayland: Buffer overflow in XkbVModMaskText()

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-26595

Probability of exploitation in the next 30 days: 0.44%

FIRST EPSS · 2026-11-21

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.

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.