Stack-based Buffer Overflow Affecting xorg-server package, versions [,24.1.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-XORGSERVER-8747148
  • published26 Feb 2025
  • disclosed25 Feb 2025
  • creditJan-Niklas Sohn

Introduced: 25 Feb 2025

CVE-2025-26595  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade xorg-server to version 24.1.6 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow due to improper bounds checking in XkbVModMaskText(). The function allocates a fixed-size buffer on the stack to store virtual modifier names but fails to validate the buffer size before copying data

CVSS Base Scores

version 4.0
version 3.1