Vulnerability CVE-2025-26595: Information

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: HIGH (7.8)
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published: Feb. 25, 2025
Modified: April 6, 2026
Error type identifier: CWE-787

Fixed packages

References to Advisories, Solutions, and Tools

    1. cpe:2.3:a:tigervnc:tigervnc:-:*:*:*:*:*:*:*

      cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*
      End excluding
      21.1.16

      cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*
      End excluding
      24.1.6

      cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*

      cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

      cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*