Stack-based Buffer Overflow Affecting xorg-x11-server-common package, versions <0:21.1.13-5.amzn2023.0.10


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.17% (7th 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-AMZN2023-XORGX11SERVERCOMMON-17332285
  • published13 Jun 2026
  • disclosed5 Jun 2026

Introduced: 5 Jun 2026

CVE-2026-50259  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 xorg-x11-server-common to version 0:21.1.13-5.amzn2023.0.10 or higher.
This issue was patched in ALAS2023-2026-1790.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xorg-x11-server-common package and not the xorg-x11-server-common package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. _XkbSetMapChecks() declares a fixed-size stack buffer mapWidths[256] indexed by key type index. The helper function CheckKeyTypes() writes to this buffer at a client-controlled offset, allowing a stack buffer overflow. This may be used to crash the server, or for privilege escalation if the X server runs as root.

References

CVSS Base Scores

version 3.1