CVE-2026-50256
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:24.1.9-4.el10_2.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 0:21.1.3-20.el8_10.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.20.11-28.el8_10.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 8 | 0:1.15.0-10.el8_10 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:24.1.9-4.el9_8.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.20.11-34.el9_8.2 < * | unaffected |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.15.0-7.el9_8.2 < * | unaffected |
Weaknesses
- CWE-121: Stack-based Buffer Overflow
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
xorg-x11-server: xorg-x11-server-Xwayland: xorg-x11-server: stack buffer overflow in font alias resolution due to libXfont2 name length mismatch
Additional References
- https://access.redhat.com/security/cve/CVE-2026-50256
- https://bugzilla.redhat.com/show_bug.cgi?id=2485380
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50256.json
- https://access.redhat.com/errata/RHSA-2026:26566
- https://access.redhat.com/errata/RHSA-2026:28923
- https://access.redhat.com/errata/RHSA-2026:26709
- https://access.redhat.com/errata/RHSA-2026:26562
- https://access.redhat.com/errata/RHSA-2026:29844
- https://access.redhat.com/errata/RHSA-2026:26610
- https://access.redhat.com/errata/RHSA-2026:26590
References
- 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/security/cve/CVE-2026-50256
- https://bugzilla.redhat.com/show_bug.cgi?id=2485380
- https://gitlab.freedesktop.org/xorg/xserver/-/commit/bb5158f962dc935e58ef8b4b5fcb31be201a6e07
- https://lists.x.org/archives/xorg-announce/2026-June/003702.html
- https://redhat.atlassian.net/browse/PSIRTSUPT-16950
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.