{
  "id": "CVE-2026-50258",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-50258",
  "published_at": "2026-06-05T10:31:39.316Z",
  "title": "Xorg-x11-server: xorg-x11-server-xwayland: xorg-x11-server: stack buffer overflow in xkb key types due to unchecked shift levels",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-121",
  "cpes": [
    "cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:24.1.9-4.el10_2.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10.0 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:24.1.5-6.el10_0.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION",
        "ranges": null,
        "fixed_in": [
          "0:1.1.0-25.el6_10.18"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "0:1.20.4-35.el7_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "0:1.8.0-36.el7_9.5"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:21.1.3-20.el8_10.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-28.el8_10.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:1.15.0-10.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.20.10-5.el8_4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.11.0-8.el8_4.16"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "0:1.20.10-5.el8_4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "0:1.11.0-8.el8_4.16"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-8.el8_6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:21.1.3-2.el8_6.7"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.12.0-6.el8_6.18"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-8.el8_6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "0:21.1.3-2.el8_6.7"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On",
        "ranges": null,
        "fixed_in": [
          "0:1.12.0-6.el8_6.18"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-19.el8_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "0:21.1.3-13.el8_8.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "0:1.12.0-15.el8_8.18"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-19.el8_8"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:21.1.3-13.el8_8.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.12.0-15.el8_8.18"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:24.1.9-4.el9_8.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-34.el9_8.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:1.15.0-7.el9_8.2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-21.el9_2"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:21.1.3-10.el9_2.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.12.0-14.el9_2.15"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-29.el9_4"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:22.1.9-8.el9_4.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.13.1-8.el9_4.10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.14.1-11.el9_6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-34.el9_6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:23.2.7-6.el9_6.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 10 to 0:24.1.9-4.el10_2.2 or later.",
      "Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:24.1.5-6.el10_0.1 or later.",
      "Upgrade Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION to 0:1.1.0-25.el6_10.18 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.20.4-35.el7_9 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.8.0-36.el7_9.5 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:21.1.3-20.el8_10.2 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:1.20.11-28.el8_10.2 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:1.15.0-10.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:1.20.10-5.el8_4 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:1.11.0-8.el8_4.16 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:1.20.10-5.el8_4 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:1.11.0-8.el8_4.16 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:1.20.11-8.el8_6 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:21.1.3-2.el8_6.7 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:1.12.0-6.el8_6.18 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:1.20.11-8.el8_6 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:21.1.3-2.el8_6.7 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:1.12.0-6.el8_6.18 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:1.20.11-19.el8_8 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:21.1.3-13.el8_8.1 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:1.12.0-15.el8_8.18 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:1.20.11-19.el8_8 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:21.1.3-13.el8_8.1 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:1.12.0-15.el8_8.18 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:24.1.9-4.el9_8.2 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:1.20.11-34.el9_8.2 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:1.15.0-7.el9_8.2 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:1.20.11-21.el9_2 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:21.1.3-10.el9_2.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:1.12.0-14.el9_2.15 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:1.20.11-29.el9_4 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:22.1.9-8.el9_4.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:1.13.1-8.el9_4.10 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:1.14.1-11.el9_6 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:1.20.11-34.el9_6 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:23.2.7-6.el9_6.1 or later."
    ],
    "workarounds": [
      "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:26562"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:26566"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:26590"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:26610"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:26709"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:28923"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:29844"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:36083"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
