Amazon Linux 2 Security Advisory: ALAS2-2026-3336
Advisory Released Date: 2026-06-08
Advisory Updated Date: 2026-06-12
FAQs regarding Amazon Linux ALAS/CVE Severity
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. (CVE-2026-50256)
A use-after-free flaw was found in the X.Org X server and Xwayland in miSyncDestroyFence(). A client that sets up multiple fence triggers can trigger a use-after-free function pointer call. An attacker would connect to the X server to set up a fence and await that fence, then a second X connection destroys the fence, causing the use-after-free. This may be used to crash the server, or for privilege escalation if the X server runs as root. (CVE-2026-50257)
A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. The X server has multiple stack buffers sized XkbMaxShiftLevel * XkbNumKbdGroups but CheckKeyTypes() does not verify or clamp non-canonical key types to XkbMaxShiftLevel. A client can change key types to excessive shift levels and trigger stack overflows. This is caused by an incomplete fix of CVE-2025-26597. This may be used to crash the server, or for privilege escalation if the X server runs as root. (CVE-2026-50258)
A stack-based buffer overflow flaw was found in the X.Org X server and Xwayland. _XkbSetMapChecks() declares a fixed-size stack buffer mapWidths[256] indexed by key type index. The helper function CheckKeyTypes() writes to this buffer at a client-controlled offset, allowing a stack buffer overflow. This may be used to crash the server, or for privilege escalation if the X server runs as root. (CVE-2026-50259)
A use-after-free flaw was found in the X.Org X server and Xwayland in FreeCounter(). A client that sets up multiple SyncCounters and awaits on those triggers can trigger a use-after-free when destroying those counters via a second client connection. This may be used to crash the server, or for privilege escalation if the X server runs as root. (CVE-2026-50260)
A use-after-free flaw was found in the X.Org X server and Xwayland in SyncChangeCounter(). A client that sets up multiple SyncCounters can trigger a use-after-free when destroying those counters via a second client connection while changing those counters. This may be used to crash the server, or for privilege escalation if the X server runs as root. (CVE-2026-50261)
Multiple issues have been found in the X server and Xwayland implementations published by X.Org for which we are releasing security fixes for in xorg-server-21.1.23 and xwayland-24.1.12. (CVE-2026-50262)
A use-after-free flaw was found in the X.Org X server and Xwayland in CreateSaverWindow(). A client can trigger a use-after-free read after changing window attributes and forcing the screen saver, leading to information disclosure. (CVE-2026-50263)
An out-of-bounds write flaw was found in the X.Org X server and Xwayland in DRIGetBuffers/DRIGetBuffersWithFormat. A client that requests multiple DRI2BufferBackLeft attachments and one DRI2BufferFrontLeft can trigger an out-of-bounds heap write. This may be used to crash the server, or for privilege escalation if the X server runs as root. (CVE-2026-50264)
Affected Packages:
xorg-x11-server
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update xorg-x11-server or yum update --advisory ALAS2-2026-3336 to update your system.
aarch64:
xorg-x11-server-common-1.20.4-22.amzn2.0.12.aarch64
xorg-x11-server-Xorg-1.20.4-22.amzn2.0.12.aarch64
xorg-x11-server-Xnest-1.20.4-22.amzn2.0.12.aarch64
xorg-x11-server-Xdmx-1.20.4-22.amzn2.0.12.aarch64
xorg-x11-server-Xvfb-1.20.4-22.amzn2.0.12.aarch64
xorg-x11-server-Xephyr-1.20.4-22.amzn2.0.12.aarch64
xorg-x11-server-Xwayland-1.20.4-22.amzn2.0.12.aarch64
xorg-x11-server-devel-1.20.4-22.amzn2.0.12.aarch64
xorg-x11-server-debuginfo-1.20.4-22.amzn2.0.12.aarch64
i686:
xorg-x11-server-common-1.20.4-22.amzn2.0.12.i686
xorg-x11-server-Xorg-1.20.4-22.amzn2.0.12.i686
xorg-x11-server-Xnest-1.20.4-22.amzn2.0.12.i686
xorg-x11-server-Xdmx-1.20.4-22.amzn2.0.12.i686
xorg-x11-server-Xvfb-1.20.4-22.amzn2.0.12.i686
xorg-x11-server-Xephyr-1.20.4-22.amzn2.0.12.i686
xorg-x11-server-Xwayland-1.20.4-22.amzn2.0.12.i686
xorg-x11-server-devel-1.20.4-22.amzn2.0.12.i686
xorg-x11-server-debuginfo-1.20.4-22.amzn2.0.12.i686
noarch:
xorg-x11-server-source-1.20.4-22.amzn2.0.12.noarch
src:
xorg-x11-server-1.20.4-22.amzn2.0.12.src
x86_64:
xorg-x11-server-common-1.20.4-22.amzn2.0.12.x86_64
xorg-x11-server-Xorg-1.20.4-22.amzn2.0.12.x86_64
xorg-x11-server-Xnest-1.20.4-22.amzn2.0.12.x86_64
xorg-x11-server-Xdmx-1.20.4-22.amzn2.0.12.x86_64
xorg-x11-server-Xvfb-1.20.4-22.amzn2.0.12.x86_64
xorg-x11-server-Xephyr-1.20.4-22.amzn2.0.12.x86_64
xorg-x11-server-Xwayland-1.20.4-22.amzn2.0.12.x86_64
xorg-x11-server-devel-1.20.4-22.amzn2.0.12.x86_64
xorg-x11-server-debuginfo-1.20.4-22.amzn2.0.12.x86_64
2026-06-12: CVE-2026-50257 was added to this advisory.
2026-06-12: CVE-2026-50260 was added to this advisory.
2026-06-09: CVE-2026-50264 was added to this advisory.
2026-06-09: CVE-2026-50258 was added to this advisory.
2026-06-09: CVE-2026-50261 was added to this advisory.
2026-06-09: CVE-2026-50262 was added to this advisory.
2026-06-09: CVE-2026-50263 was added to this advisory.
2026-06-09: CVE-2026-50259 was added to this advisory.
2026-06-09: CVE-2026-50256 was added to this advisory.