CVE-2025-26595
HIGH 7.8CVSS 3.1Xorg: xwayland: buffer overflow in xkbvmodmasktext()
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.
- Published
- 25 Feb 2025
- Last modified
- 23 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-121CWE-787
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | redhat | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tigervnc | tigervnccpe:2.3:a:tigervnc:tigervnc:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | x.org | x_servercpe:2.3:a:x.org:x_server:*:*:*:*:*:*:*:* |
< 21.1.16 | 21.1.16 |
| NVD | x.org | xwaylandcpe:2.3:a:x.org:xwayland:*:*:*:*:*:*:*:* |
< 24.1.6 | 24.1.6 |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| CVE List | https://gitlab.freedesktop.org/xorg/xserver/ | xserver | < 21.1.16; >= 22.0.0, < 24.1.6 | 21.1.16, 24.1.6 |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | xorg-x11-server-Xwaylandcpe:/o:redhat:enterprise_linux:10.0 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/o:redhat:rhel_els:6 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/o:redhat:rhel_els:7 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | xorg-x11-servercpe:/o:redhat:rhel_els:7 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:enterprise_linux:8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_aus:8.2::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_aus:8.4::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_aus:8.4::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_aus:8.4::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_aus:8.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_aus:8.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_aus:8.6::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_eus:8.8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | xorg-x11-servercpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | xorg-x11-server-Xwaylandcpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_e4s:9.0::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_eus:9.2::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | tigervnccpe:/a:redhat:rhel_eus:9.4::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | xorg-x11-servercpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | xorg-x11-servercpe:/o:redhat:enterprise_linux:8 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | xorg-x11-server-Xwaylandcpe:/o:redhat:enterprise_linux:8 |
References
- https://access.redhat.com/errata/RHSA-2025:2500 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2502 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2861 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2862 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2865 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2866 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2873 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2874 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2875 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2879 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:2880 · Third Party Advisory, vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3976 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:7163 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:7165 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:7458 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-26595 · Third Party Advisory, vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2345257 · Issue Tracking, issue-tracking, x_refsource_REDHAT
- https://lists.debian.org/debian-lts-announce/2025/02/msg00036.html
History
- 25 Nov 2026 20:33 UTC · CVE List: first stored (published 25 Feb 2025)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 25 Feb 2025)