CVE-2026-50256: A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland
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 score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 95%) |
| CISA exploited list | No |
| Weakness | CWE-121 |
| Published | 2026-06-05 |
| Last modified | 2026-08-05 |
Last updated 2026-08-05 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- AlmaLinux Errata: [ALSA-2026:26590] Important: xorg-x11-server-Xwayland security, bug fix, and enhancement update 2026-07-02
- AlmaLinux Errata: [ALSA-2026:26610] Important: xorg-x11-server security, bug fix, and enhancement update 2026-07-02
- AlmaLinux Errata: [ALSA-2026:29844] Important: tigervnc security update 2026-06-29
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
- CVE-2026-34000 MEDIUM 6.1 MITIGATE MITIGATE A flaw was found in the X.Org X server
- CVE-2026-34002 MEDIUM 6.1 MITIGATE MITIGATE A flaw was found in the X.Org X server
- CVE-2026-50261 HIGH 7.8 UPGRADE UPGRADE A use-after-free flaw was found in the X.Org X server and Xwayland in SyncChangeCounter()
- CVE-2026-50260 HIGH 7.8 UPGRADE UPGRADE A use-after-free flaw was found in the X.Org X server and Xwayland in FreeCounter()
- CVE-2026-50259 HIGH 7.8 UPGRADE UPGRADE A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland