← CVE Intelligence

CVE-2026-50256

Xorg-x11-server: xorg-x11-server-xwayland: xorg-x11-server: stack buffer overflow in font alias resolution due to libxfont2 name length mismatch PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Red Hat / Red Hat Enterprise Linux 10unaffected 0:24.1.9-4.el10_2.2 before *
Red Hat / Red Hat Enterprise Linux 10.0 Extended Update Supportunaffected 0:24.1.5-6.el10_0.1 before *
Red Hat / Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONunaffected 0:1.1.0-25.el6_10.18 before *
Red Hat / Red Hat Enterprise Linux 7 Extended Lifecycle Supportunaffected 0:1.20.4-35.el7_9 before *
Red Hat / Red Hat Enterprise Linux 7 Extended Lifecycle Supportunaffected 0:1.8.0-36.el7_9.5 before *
Red Hat / Red Hat Enterprise Linux 8unaffected 0:21.1.3-20.el8_10.2 before *
Red Hat / Red Hat Enterprise Linux 8unaffected 0:1.20.11-28.el8_10.2 before *
Red Hat / Red Hat Enterprise Linux 8unaffected 0:1.15.0-10.el8_10 before *
Red Hat / Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:1.20.10-5.el8_4 before *
Red Hat / Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:1.11.0-8.el8_4.16 before *
Red Hat / Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunaffected 0:1.20.10-5.el8_4 before *
Red Hat / Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunaffected 0:1.11.0-8.el8_4.16 before *
Red Hat / Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:1.20.11-8.el8_6 before *
Red Hat / Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:21.1.3-2.el8_6.7 before *
Red Hat / Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:1.12.0-6.el8_6.18 before *
Red Hat / Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onunaffected 0:1.20.11-8.el8_6 before *
Red Hat / Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onunaffected 0:21.1.3-2.el8_6.7 before *
Red Hat / Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onunaffected 0:1.12.0-6.el8_6.18 before *
Red Hat / Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:1.20.11-19.el8_8 before *
Red Hat / Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:21.1.3-13.el8_8.1 before *
Red Hat / Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:1.12.0-15.el8_8.18 before *
Red Hat / Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:1.20.11-19.el8_8 before *
Red Hat / Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:21.1.3-13.el8_8.1 before *
Red Hat / Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:1.12.0-15.el8_8.18 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:24.1.9-4.el9_8.2 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:1.20.11-34.el9_8.2 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:1.15.0-7.el9_8.2 before *
Red Hat / Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:1.20.11-21.el9_2 before *
Red Hat / Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:21.1.3-10.el9_2.1 before *
Red Hat / Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:1.12.0-14.el9_2.15 before *
Red Hat / Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsunaffected 0:1.20.11-29.el9_4 before *
Red Hat / Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsunaffected 0:22.1.9-8.el9_4.1 before *
Red Hat / Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsunaffected 0:1.13.1-8.el9_4.10 before *
Red Hat / Red Hat Enterprise Linux 9.6 Extended Update Supportunaffected 0:1.20.11-34.el9_6 before *
Red Hat / Red Hat Enterprise Linux 9.6 Extended Update Supportunaffected 0:23.2.7-6.el9_6.1 before *
Red Hat / Red Hat Enterprise Linux 9.6 Extended Update Supportunaffected 0:1.14.1-11.el9_6 before *
Red Hat / Red Hat Enterprise Linux 6unknown

CWE

CWE-121

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

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.