CVE-2026-50256

high
Published 2026-06-05 · Modified 2026-06-05
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
not yet in upstream
VIR risk
7.8

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.

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2026-50256 NameCVE-2026-50256 DescriptionFont Alias Stack-based Buffer Overflow SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) Debian Bugs1138680, 1138703 Vulnerable and fixed packages The table below lists information on source packages. Source PackageReleaseVersionStatus…

CVE-2026-50256

NameCVE-2026-50256
DescriptionFont Alias Stack-based Buffer Overflow
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1138680, 1138703

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
xorg-server (PTS)bullseye2:1.20.11-1+deb11u13vulnerable
bullseye (security)2:1.20.11-1+deb11u17vulnerable
bookworm2:21.1.7-3+deb12u12vulnerable
bookworm (security)2:21.1.7-3+deb12u11vulnerable
trixie2:21.1.16-1.3+deb13u2vulnerable
trixie (security)2:21.1.16-1.3+deb13u1vulnerable
forky2:21.1.22-1vulnerable
sid2:21.1.23-1fixed
xwayland (PTS)bookworm2:22.1.9-1vulnerable
trixie2:24.1.6-1vulnerable
forky2:24.1.11-1vulnerable
sid2:24.1.12-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
xorg-serversource(unstable)2:21.1.23-11138680
xwaylandsource(unstable)2:24.1.12-11138703

Notes

[trixie] - xwayland <ignored> (Minor issue; Xwayland shouldn't be running as root)
[bookworm] - xwayland <ignored> (Minor issue; Xwayland shouldn't be running as root)
https://www.openwall.com/lists/oss-security/2026/06/02/1
https://gitlab.freedesktop.org/xorg/xserver/-/commit/bb5158f962dc935e58ef8b4b5fcb31be201a6e07

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[trixie] - xwayland <ignored> (Minor issue; Xwayland shouldn't be running as root)[bookworm] - xwayland <ignored> (Minor issue; Xwayland shouldn't be running as root)https://www.openwall.com/lists/oss-security/2026/06/02/1https://gitlab.freedesktop.org/xorg/xserver/-/commit/bb5158f962dc935e58ef8b4b5fcb31be201a6e07

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
Affected
debian Debian Mixed 5 releases
VersionStatusFixed in
trixie Affected
sid Fixed 2:21.1.23-1
forky Affected
bullseye Affected
bookworm Affected

References

CWEs

CWE-121

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.