Description
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.
Affected products
x.org: x server; x.org: xwayland; redhat: enterprise linux
References10
- access.redhat.com/security/cve/CVE-2026-50256 Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2485380 Issue TrackingVendor Advisory
- access.redhat.com/security/cve/CVE-2026-50256 Vendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2485380 Issue TrackingVendor Advisory
- gitlab.freedesktop.org/xorg/xserver/-/commit/bb5158f962dc935e58… Patch
- access.redhat.com/errata/RHSA-2026:26562
- access.redhat.com/errata/RHSA-2026:26566
- access.redhat.com/errata/RHSA-2026:26590
- access.redhat.com/errata/RHSA-2026:26610
- access.redhat.com/errata/RHSA-2026:26709
Metrics
- CVSS 3.1
-
7.8
HIGH
Score source: CNA
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 5 · as of 15 November 2026
- CWE
- CWE-121
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.