# 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

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-05 · Modified: 2026-11-26
- Aliases: UBUNTU-CVE-2026-50256, DEBIAN-CVE-2026-50256
- Record: https://cvemate.com/vulnerability/CVE-2026-50256 · JSON: https://cvemate.com/vulnerability/CVE-2026-50256/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.166%, percentile 6.114%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian xorg-server (Debian): \< 2:21.1.7-3+deb12u13 \| \< 2:21.1.16-1.3+deb13u3 \| \< 2:21.1.23-1
- debian xwayland (Debian): All versions (No fix recorded) \| \< 2:24.1.12-1
- ubuntu xorg-server (Ubuntu): All versions (No fix recorded)
- ubuntu xorg-server-hwe-16.04 (Ubuntu): All versions (No fix recorded)
- ubuntu xorg-server-hwe-18.04 (Ubuntu): All versions (No fix recorded)
- ubuntu xwayland (Ubuntu): All versions (No fix recorded)
- redhat enterprise\_linux: 7.0 \| 8.0 \| 9.0 \| 10.0
- x.org x\_server: \< 21.1.23
- x.org xwayland: \< 24.1.12

## References (first 20 of 39)

- <https://access.redhat.com/errata/RHSA-2026:26562>
- <https://access.redhat.com/errata/RHSA-2026:26566>
- <https://access.redhat.com/errata/RHSA-2026:26590>
- <https://access.redhat.com/errata/RHSA-2026:26610>
- <https://access.redhat.com/errata/RHSA-2026:26709>
- <https://access.redhat.com/errata/RHSA-2026:28923>
- <https://access.redhat.com/errata/RHSA-2026:29844>
- <https://access.redhat.com/errata/RHSA-2026:36083>
- <https://access.redhat.com/errata/RHSA-2026:36085>
- <https://access.redhat.com/errata/RHSA-2026:36086>
- <https://access.redhat.com/errata/RHSA-2026:36087>
- <https://access.redhat.com/errata/RHSA-2026:36632>
- <https://access.redhat.com/errata/RHSA-2026:36633>
- <https://access.redhat.com/errata/RHSA-2026:36634>
- <https://access.redhat.com/errata/RHSA-2026:36768>
- <https://access.redhat.com/errata/RHSA-2026:36791>
- <https://access.redhat.com/errata/RHSA-2026:36792>
- <https://access.redhat.com/errata/RHSA-2026:36798>
- <https://access.redhat.com/errata/RHSA-2026:38502>
- <https://access.redhat.com/errata/RHSA-2026:38810>

---

Data as of 2026-12-05T03:14:44.368Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
