{"id":"CVE-2025-26595","aliases":["CVE-2025-26595"],"related":[],"kind":"vulnerability","state":"published","title":"Xorg: xwayland: buffer overflow in xkbvmodmasktext()","summary":"A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the data regardless of the size.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A buffer overflow flaw was found in X.Org and Xwayland. The code in XkbVModMaskText() allocates a fixed-sized buffer on the stack and copies the names of the virtual modifiers to that buffer. The code fails to check the bounds of the buffer and would copy the data regardless of the size.","source":"cvelist"},{"lang":"es","text":"Se encontró una falla de desbordamiento de búfer en X.Org y Xwayland. El código en XkbVModMaskText() asigna un búfer de tamaño fijo en la pila y copia los nombres de los modificadores virtuales en ese búfer. El código no verifica los límites del búfer y copia los datos independientemente del tamaño.","source":"nvd"}],"published":"2025-02-25T15:54:06.708Z","modified":"2026-11-23T15:17:17.333Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-121","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"21.1.16","status":"affected"},{"type":"semver","introduced":"22.0.0","fixed":"24.1.6","status":"affected"}],"package":"xserver","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:24.1.5-3.el10_0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"xorg-x11-server-Xwayland","cpe":"cpe:/o:redhat:enterprise_linux:10.0","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.1.0-25.el6_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6 Extended Lifecycle Support  - EXTENSION","package":"tigervnc","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.8.0-36.el7_9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7 Extended Lifecycle Support","package":"tigervnc","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.20.4-30.el7_9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7 Extended Lifecycle Support","package":"xorg-x11-server","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.13.1-15.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"tigervnc","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.9.0-15.el8_2.13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.2 Advanced Update Support","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_aus:8.2::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.11.0-8.el8_4.12","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_aus:8.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.11.0-8.el8_4.12","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Telecommunications Update Service","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_aus:8.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.11.0-8.el8_4.12","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_aus:8.4::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.12.0-6.el8_6.13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_aus:8.6::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.12.0-6.el8_6.13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Telecommunications Update Service","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_aus:8.6::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.12.0-6.el8_6.13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_aus:8.6::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.12.0-15.el8_8.12","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Extended Update Support","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_eus:8.8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.14.1-1.el9_5.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"tigervnc","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.20.11-28.el9_6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"xorg-x11-server","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:23.2.7-3.el9_6","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"xorg-x11-server-Xwayland","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.11.0-22.el9_0.13","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_e4s:9.0::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.12.0-14.el9_2.10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Extended Update Support","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_eus:9.2::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.13.1-8.el9_4.5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.4 Extended Update Support","package":"tigervnc","cpe":"cpe:/a:redhat:rhel_eus:9.4::appstream","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"xorg-x11-server","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"xorg-x11-server","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"xorg-x11-server-Xwayland","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"tigervnc","product":"tigervnc","cpe":"cpe:2.3:a:tigervnc:tigervnc:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"21.1.16"}],"vendor":"x.org","product":"x_server","cpe":"cpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"24.1.6"}],"vendor":"x.org","product":"xwayland","cpe":"cpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"},{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:2500","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2502","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2861","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2862","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2865","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2866","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2873","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2874","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2875","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2879","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:2880","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:3976","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:7163","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:7165","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:7458","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-26595","tags":["third-party-advisory","vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2345257","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00036.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-02-25T20:05:05.924Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-26595","url":"https://www.cve.org/CVERecord?id=CVE-2025-26595","licence":"CVE Terms of Use","modified":"2026-11-23T14:17:23.676Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-26595","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26595","licence":"Public domain","modified":"2026-11-23T15:17:17.333Z"}],"updatedAt":"2026-11-25T22:58:54.414Z","epss":{"score":0.00494,"percentile":0.44021,"date":"2026-12-01T12:00:22.000Z"}}