Stack-based Buffer Overflow Affecting xorg-x11-server-Xwayland-debugsource package, versions <0:24.1.9-4.el10_2.2


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.16% (5th 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-ROCKY10-XORGX11SERVERXWAYLANDDEBUGSOURCE-17458345
  • published25 Jun 2026
  • disclosed5 Jun 2026

Introduced: 5 Jun 2026

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

How to fix?

Upgrade Rocky-Linux:10 xorg-x11-server-Xwayland-debugsource to version 0:24.1.9-4.el10_2.2 or higher.
This issue was patched in RLSA-2026:26566.

NVD Description

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

A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. A mismatch between the X server and the libXfont2 library's maximum font name length can cause a stack buffer overflow during font alias resolution. The server allocates a 256 byte stack buffer but libXfont2's alias target name length is 1024 bytes. A font alias name between 257 and 1023 bytes causes the X server to copy that name into the undersized stack buffer without further checks. 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