{
  "id": "CVE-2025-26598",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-26598",
  "published_at": "2025-02-25T15:54:57.355Z",
  "title": "Xorg: xwayland: out-of-bounds write in createpointerbarrierclient()",
  "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": "An out-of-bounds write flaw was found in X.Org and Xwayland. The function GetBarrierDevice() searches for the pointer device based on its device ID and returns the matching value, or supposedly NULL, if no match was found. However, the code will return the last element of the list if no matching device ID is found, which can lead to out-of-bounds memory access.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:a:tigervnc:tigervnc:-:*:*:*:*:*:*:*",
    "cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*",
    "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,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c 21.1.16",
          "\u003e= 22.0.0, \u003c 24.1.6"
        ],
        "fixed_in": [
          "21.1.16",
          "24.1.6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 10",
        "ranges": null,
        "fixed_in": [
          "0:24.1.5-3.el10_0"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION",
        "ranges": null,
        "fixed_in": [
          "0:1.1.0-25.el6_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "0:1.8.0-36.el7_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 7 Extended Lifecycle Support",
        "ranges": null,
        "fixed_in": [
          "0:1.20.4-30.el7_9"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "0:1.13.1-15.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.2 Advanced Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.9.0-15.el8_2.13"
        ]
      },
      {
        "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.12"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "0:1.11.0-8.el8_4.12"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.11.0-8.el8_4.12"
        ]
      },
      {
        "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.13"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Telecommunications Update Service",
        "ranges": null,
        "fixed_in": [
          "0:1.12.0-6.el8_6.13"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.12.0-6.el8_6.13"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8.8 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.12.0-15.el8_8.12"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:1.14.1-1.el9_5.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:1.20.11-28.el9_6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "0:23.2.7-3.el9_6"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions",
        "ranges": null,
        "fixed_in": [
          "0:1.11.0-22.el9_0.13"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.2 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.12.0-14.el9_2.10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "0:1.13.1-8.el9_4.5"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to 21.1.16 or 24.1.6 or later.",
      "Upgrade Red Hat Enterprise Linux 10 to 0:24.1.5-3.el10_0 or later.",
      "Upgrade Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION to 0:1.1.0-25.el6_10 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.8.0-36.el7_9 or later.",
      "Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.20.4-30.el7_9 or later.",
      "Upgrade Red Hat Enterprise Linux 8 to 0:1.13.1-15.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 8.2 Advanced Update Support to 0:1.9.0-15.el8_2.13 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:1.11.0-8.el8_4.12 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Telecommunications Update Service to 0:1.11.0-8.el8_4.12 or later.",
      "Upgrade Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions to 0:1.11.0-8.el8_4.12 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:1.12.0-6.el8_6.13 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Telecommunications Update Service to 0:1.12.0-6.el8_6.13 or later.",
      "Upgrade Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions to 0:1.12.0-6.el8_6.13 or later.",
      "Upgrade Red Hat Enterprise Linux 8.8 Extended Update Support to 0:1.12.0-15.el8_8.12 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:1.14.1-1.el9_5.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:1.20.11-28.el9_6 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 0:23.2.7-3.el9_6 or later.",
      "Upgrade Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions to 0:1.11.0-22.el9_0.13 or later.",
      "Upgrade Red Hat Enterprise Linux 9.2 Extended Update Support to 0:1.12.0-14.el9_2.10 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 0:1.13.1-8.el9_4.5 or later."
    ],
    "workarounds": [
      "Mitigation for this issue is either not available or the currently available options don't 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-2025:2500"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:2502"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:2861"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:2862"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:2865"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:2866"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:2873"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2025:2874"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
