Skip to content
OpenAdvisories
High ALAS2-2026-4014 9 CVEs

Important: xorg-x11-server security update (Amazon Linux 2)

Published Oct 26, 2026 · Updated Oct 26, 2026

Summary

Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-93524: CheckKeySyms() in xkb/xkb.c populates a symsPerKey[] validation array with new key widths for keys in the SetMap request range, then continues filling entries for keys beyond the range. However, the second loop starts at index i = nKeySyms (the first loop's counter) rather than i = firstKeySym + nKeySyms. When firstKeySym is large and nKeySyms is small, the second loop overwrites symsPerKey[target] with the old width from the existing map. CheckKeyActions() then validates the wire action count against the stale old width and accepts it. In _XkbSetMap(), SetKeySyms() widens the key (resizing actions to nGroups * newWidth), but SetKeyActions() then resizes again to the old count. A subsequent XkbGetMap request reads XkbKeyNumActions() entries (derived from the new wider key_sym_map.width) from the shorter action allocation, causing an out-of-bounds heap read. The overread bytes are copied into the GetMap reply and sent back to the requesting client, producing a bounded heap information disclosure. NOTE: https://lists.x.org/archives/xorg-announce/2026-October/003747.html NOTE: Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/927ee1282d21550807619521bee909ef62ed0571 (xorg-server-21.1.25) CVE-2026-93523: The XI2 passive ungrab path (XIPassiveUngrabDevice) is missing the modifier validation that exists in the grab path and in legacy XI paths. Without checking against AllModifiersMask, a client can supply out-of-range modifier values that lead to an out-of-bounds write when the modifier is used as an index. An authenticated X client can trigger this by sending an XIPassiveUngrabDevice request with an out-of-range modifier value. The out-of-bounds write can lead to arbitrary code execution or denial of service. NOTE: https://lists.x.org/archives/xorg-announce/2026-October/003747.html NOTE: Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/aa56160fa213d8767e7da0c076b5c8242703313b (xorg-server-21.1.25) CVE-2026-93521: In RRChangeProviderProperty() with PrependMode, new_value.size is set to len instead of total_len. Additionally, the old_data offset calculation uses prop_value->size instead of len for the memcpy of existing data. This causes a heap buffer overflow when prepending property data, as the buffer is undersized and the copy offset is incorrect. This mirrors a bug pattern that was previously fixed in RRChangeOutputProperty but was not applied to the provider property path. An authenticated X client can trigger this by sending RandR ChangeProviderProperty requests with PrependMode on a system with RandR providers (standard on modern GPUs). The heap buffer overflow can lead to arbitrary code execution or denial of service. Fixed in: xorg-server-21.1.25 and xwayland-24.1.14 Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/5dc9efd5a199 CVE-2026-93519: Input_constrain_cursor() writes barrier events into a fixed-size buffer without checking bounds. When more than 100 pointer barriers are active, the writes overflow the fixed buffer on the stack or heap. An authenticated X client can trigger this by creating more than 100 pointer barriers (using the XFIXES extension) and then generating pointer motion events (e.g. via XTEST). Both extensions are enabled by default. The buffer overflow can lead to arbitrary code execution or denial of service. NOTE: https://lists.x.org/archives/xorg-announce/2026-October/003747.html NOTE: Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/9c3880d0745acefc98ed37e79498dfbe558a0f40 (xorg-server-21.1.25) CVE-2026-93518: In XkbResizeKeyType(), the size_syms variable is declared as unsigned short. The expression (nTotal * 15) / 10 can exceed 65535 for large nTotal values, and the result is truncated when assigned to the unsigned short variable. This causes an undersized allocation, and subsequent writes overflow the heap buffer. An authenticated X client can trigger this by sending XKB requests that cause a key type resize with a sufficiently large nTotal value. The heap buffer overflow resulting from the truncated allocation can lead to arbitrary code execution or denial of service. NOTE: https://lists.x.org/archives/xorg-announce/2026-October/003747.html NOTE: Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/558ba8f784b0f5d4d96948051b2f04c983af20cc (xorg-server-21.1.25) CVE-2026-93517: In the GLX RenderLarge request handling, the buffer is allocated to the size of cmdlen but the subsequent memcpy copies dataBytes into it. There is no validation that dataBytes is less than or equal to cmdlen, allowing an attacker to write past the end of the allocated buffer. An authenticated X client can trigger this by sending a crafted GLX RenderLarge request where dataBytes exceeds cmdlen, causing a heap buffer overflow. The heap buffer overflow can lead to arbitrary code execution or denial of service. NOTE: https://lists.x.org/archives/xorg-announce/2026-October/003747.html NOTE: Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/3961cdca467975a7d377f1f7bcd55d52eb3f417a (xorg-server-21.1.25) CVE-2026-93516: XInput Passive Grab modifierDevice Use-After-Free NOTE: https://lists.x.org/archives/xorg-announce/2026-October/003747.html NOTE: Fixed by: https://gitlab.freedesktop.org/xorg/xserver/-/commit/9442a53c137bb9eb61336c6fd39627912d50cc8d (xorg-server-21.1.25) CVE-2026-93515: Present_clear_window_notifies() does not unlink notify entries from the per-window list before freeing window_priv. When the window is subsequently destroyed or reused, the stale list entries are traversed, resulting in a use-after-free. An authenticated X client can trigger this by creating cross-window Present notifies and then destroying the target window. Both the Present and SYNC extensions must be enabled (they are by default). The use-after-free can lead to denial of service (crash) or potentially information disclosure. NOTE:

Fixed packages 10

ReleasePackageFixed in
Amazon Linux · 2 xorg-x11-server-common 0:1.20.4-22.amzn2.0.14
Amazon Linux · 2 xorg-x11-server-debuginfo 0:1.20.4-22.amzn2.0.14
Amazon Linux · 2 xorg-x11-server-devel 0:1.20.4-22.amzn2.0.14
Amazon Linux · 2 xorg-x11-server-source 0:1.20.4-22.amzn2.0.14
Amazon Linux · 2 xorg-x11-server-Xdmx 0:1.20.4-22.amzn2.0.14
Amazon Linux · 2 xorg-x11-server-Xephyr 0:1.20.4-22.amzn2.0.14
Amazon Linux · 2 xorg-x11-server-Xnest 0:1.20.4-22.amzn2.0.14
Amazon Linux · 2 xorg-x11-server-Xorg 0:1.20.4-22.amzn2.0.14
Amazon Linux · 2 xorg-x11-server-Xvfb 0:1.20.4-22.amzn2.0.14
Amazon Linux · 2 xorg-x11-server-Xwayland 0:1.20.4-22.amzn2.0.14

Vulnerabilities 9

  • High 8.5

    X.Org Server GLX RenderLarge Heap Buffer Overflow

    A heap buffer overflow in handling GLX RenderLarge request where dataBytes exceeds cmdlen in X.org X server before 21.1.25 and XWayland before 24.1.14 that could be be triggered by an authenticated X client could cause crashes or code execution in X server co…

  • High 7.8

    X.Org Server XKB SetGeometry TextDoodad Double Free

    A double free in XKB SetGeometryin X.Org X Server before 21.1.25 and X Wayland before 24.1.14 could be used by attached clients to cause a crash or potentially code in the x server context.

  • High 7.8

    X.Org Server XKB ResizeKeyType Numeric Truncation

    An integer truncation issue in XkbResizeKeyType() that could lead to a heap buffer overflow by authenticated X clients in X.org X server before 21.1.25 and XWayland before 24.1.14 could be exploited for crashes or potential code execution in the X server.

  • High 7.8

    X.Org Server XFixes Pointer Barrier Event List Buffer Overflow

    A buffer overflow when handling pointer barriers in the XFIXES extension in X.Org X server before 21.1.25 and XWayland before 24.1.14 could be used by authenticated X clients to crash or potentially execute code in X server context.

  • High 7.8

    X.Org Server RandR ChangeProviderProperty Heap Buffer Overflow

    A buffer overflow in RandR ChangeProviderProperty requests in X.Org X Server before 2.1.25 and XWayland before 24.4.14 could be used by authenticated X clients to crash or execute code within the X server context.

  • High 7.8

    X.Org Server XInput2 PassiveUngrabDevice Out-of-Bounds Write

    A heap buffer overflow caused by a XIPassiveUngrabDevice request with an out-of-range modifier value in X.Org X Server before 21.1.15 and XWayland before 24.1.14 could be used by authenticated X clients to crash or potentially execute code in X server context.

  • Medium 6.9

    X.Org Server XKB SetMap Key Width/Action Count Desync Out-Of-Bounds Read

    A buffer overread in CheckKeySyms() in X.Org X Server before 21.1.25 and XWayland before 24.1.14 could be used by authenticated X clients to leak small amounts of information from X server memory or potentially crash the X server.

  • Medium 6.8

    .Org Server Present Extension Use-After-Free

    A use-after-free in present_clear_window_notifies() in the X.org X Server before 21.1.25 and X Wayland before 24.1.14 could be used by malicious X clients to crash or potentially execute code in the X server context.

  • Medium 5.5

    .Org Server XInput Passive Grab Use-After-Free

    A use-after-free caused by lack of lifecycle management when adding / removing XInput master devices in X.org X Server before 21.1.25 and XWayland before 24.1.14 could be used by authenticated X Clients to crash the X server or potentially execute code in X s…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-88812.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-93515.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-93516.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-93517.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-93518.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-93519.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-93521.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-93523.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2026-93524.html