Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-50256: A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland

34
Routine
HIGH 7.8WATCHLISTUPGRADEUPGRADEMITIGATE

CVE-2026-50256 is a high-severity flaw (CVSS 7.8) affecting x server, xwayland, enterprise linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 wit

Why this priority

  • High severity
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score7.8 (High)
Attack vectorLocal
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.2% (top 95%)
CISA exploited listNo
WeaknessCWE-121
Published2026-06-05
Last modified2026-08-05
Publisher (CNA): Red Hat, Inc. · Vendor: redhat · x.org

Share: LinkedIn · X · Reddit

Last updated 2026-08-05 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

x.org x server UPGRADE
Affected: < 21.1.23
Fixed in: 21.1.23
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy x-server || rpm -q x-server || x-server --version
2. UPGRADE to 21.1.23 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade x-server
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade x-server
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
x.org xwayland UPGRADE
Affected: < 24.1.12
Fixed in: 24.1.12
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy xwayland || rpm -q xwayland || xwayland --version
2. UPGRADE to 24.1.12 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade xwayland
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade xwayland
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
redhat enterprise linux MITIGATE
Affected: 7.0 · 8.0 · 9.0 · 10.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.

Advisories and coverage

Official advisories

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-50256?

x server: upgrade to 21.1.23; xwayland: upgrade to 24.1.12; enterprise linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2026-50256 being exploited?

CVE-2026-50256 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-50256 affect?

CVE-2026-50256 affects x server, xwayland, enterprise linux. Severity is high (CVSS 7.8). 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

How urgent is CVE-2026-50256?

Priority 34/100. High severity; On your watchlist

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.