# 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

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-06-05T10:31:22.122Z
- Modified: 2026-11-26T15:17:34.373Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- xorg-x11-server-Xwayland: no versions given (not affected: from 0:24.1.9-4.el10_2.2 before *; from 0:24.1.5-6.el10_0.1 before *; from 0:21.1.3-20.el8_10.2 before *; from 0:21.1.3-2.el8_6.7 before *; from 0:21.1.3-13.el8_8.1 before *; from 0:24.1.9-4.el9_8.2 before *; from 0:21.1.3-10.el9_2.1 before *; from 0:22.1.9-8.el9_4.1 before *; from 0:23.2.7-6.el9_6.1 before *)
- tigervnc: no versions given (not affected: from 0:1.1.0-25.el6_10.18 before *; from 0:1.8.0-36.el7_9.5 before *; from 0:1.15.0-10.el8_10 before *; from 0:1.11.0-8.el8_4.16 before *; from 0:1.12.0-6.el8_6.18 before *; from 0:1.12.0-15.el8_8.18 before *; from 0:1.15.0-7.el9_8.2 before *; from 0:1.12.0-14.el9_2.15 before *; from 0:1.13.1-8.el9_4.10 before *; from 0:1.14.1-11.el9_6 before *)
- xorg-x11-server: no versions given (not affected: from 0:1.20.4-35.el7_9 before *; from 0:1.20.11-28.el8_10.2 before *; from 0:1.20.10-5.el8_4 before *; from 0:1.20.11-8.el8_6 before *; from 0:1.20.11-19.el8_8 before *; from 0:1.20.11-34.el9_8.2 before *; from 0:1.20.11-21.el9_2 before *; from 0:1.20.11-29.el9_4 before *; from 0:1.20.11-34.el9_6 before *)
- x.org x_server: before 21.1.23
- x.org xwayland: before 24.1.12
- redhat enterprise_linux: 7.0; 8.0; 9.0; 10.0

## Every score

- redhat: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2026:26562> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26566> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26590> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26610> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:26709> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:28923> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:29844> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36083> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36085> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36086> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36087> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36632> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36633> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36634> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36768> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36791> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36792> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36798> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:38502> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:38810> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:46377> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:46382> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:46385> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:46392> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:46456> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:46460> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:46473> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:49519> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-50256> (vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2485380> (issue-tracking, vendor-advisory)
- <https://gitlab.freedesktop.org/xorg/xserver/-/commit/bb5158f962dc935e58ef8b4b5fcb31be201a6e07> (patch)
- <https://lists.x.org/archives/xorg-announce/2026-June/003702.html> (mailing-list, third-party-advisory)
- <https://redhat.atlassian.net/browse/PSIRTSUPT-16950> (permissions-required)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50256.json>

## Sources

- CVE List: [CVE-2026-50256](https://www.cve.org/CVERecord?id=CVE-2026-50256), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-50256](https://nvd.nist.gov/vuln/detail/CVE-2026-50256), Public domain, modified 2026-11-26

---

Page: https://cve.day/CVE-2026-50256 · Whole record: https://cve.day/CVE-2026-50256.json · Rebuilt by cve.day 2026-11-26T15:32:13.187Z
