CVE-2025-26595

CVSS 3.1 Score 7.8 of 10 (high)

Details

Published Feb 25, 2025
Updated: Mar 10, 2025
CWE ID 121

Summary

CVE-2025-26595 is a buffer overflow vulnerability affecting X.Org and Xwayland. The issue lies in the XkbVModMaskText() function, which allocates a fixed-sized buffer on the stack for virtual modifier names without proper bounds checking. Consequently, the function copies the data into the buffer regardless of its size, potentially leading to a buffer overflow and allowing an attacker to execute arbitrary code. This vulnerability poses a significant risk to systems using these display servers and requires immediate patching.

Ligh bulbPrevent cyber attacks with Recorded Future by prioritizing and patching critical vulnerabilities being exploited by threat actors targeting your industry. Book your demo to learn more.

Share

Affected Products

  • Red Hat Enterprise Linux

Affected Vendors

  • Red Hat