CVE-2026-50259

Summary

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.

Affected Software

VendorProductVersion RangeStatus
Red HatRed Hat Enterprise Linux 100:24.1.9-4.el10_2.2 < *unaffected
Red HatRed Hat Enterprise Linux 80:21.1.3-20.el8_10.2 < *unaffected
Red HatRed Hat Enterprise Linux 80:1.20.11-28.el8_10.2 < *unaffected
Red HatRed Hat Enterprise Linux 80:1.15.0-10.el8_10 < *unaffected
Red HatRed Hat Enterprise Linux 90:24.1.9-4.el9_8.2 < *unaffected
Red HatRed Hat Enterprise Linux 90:1.20.11-34.el9_8.2 < *unaffected
Red HatRed Hat Enterprise Linux 90: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 XKB SetMap request via mapWidths indexing

Additional References

References