Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Not supplied / Not supplied | affected 0 before 21.1.16; affected 22.0.0 before 24.1.6 |
| Red Hat / Red Hat Enterprise Linux 10 | unaffected 0:24.1.5-3.el10_0 before * |
| Red Hat / Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSION | unaffected 0:1.1.0-25.el6_10 before * |
| Red Hat / Red Hat Enterprise Linux 7 Extended Lifecycle Support | unaffected 0:1.8.0-36.el7_9 before * |
| Red Hat / Red Hat Enterprise Linux 7 Extended Lifecycle Support | unaffected 0:1.20.4-30.el7_9 before * |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected 0:1.13.1-15.el8_10 before * |
| Red Hat / Red Hat Enterprise Linux 8.2 Advanced Update Support | unaffected 0:1.9.0-15.el8_2.13 before * |
| Red Hat / Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | unaffected 0:1.11.0-8.el8_4.12 before * |
| Red Hat / Red Hat Enterprise Linux 8.4 Telecommunications Update Service | unaffected 0:1.11.0-8.el8_4.12 before * |
| Red Hat / Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | unaffected 0:1.11.0-8.el8_4.12 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | unaffected 0:1.12.0-6.el8_6.13 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Telecommunications Update Service | unaffected 0:1.12.0-6.el8_6.13 before * |
| Red Hat / Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | unaffected 0:1.12.0-6.el8_6.13 before * |
| Red Hat / Red Hat Enterprise Linux 8.8 Extended Update Support | unaffected 0:1.12.0-15.el8_8.12 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 0:1.14.1-1.el9_5.1 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 0:1.20.11-28.el9_6 before * |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected 0:23.2.7-3.el9_6 before * |
| Red Hat / Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | unaffected 0:1.11.0-22.el9_0.13 before * |
| Red Hat / Red Hat Enterprise Linux 9.2 Extended Update Support | unaffected 0:1.12.0-14.el9_2.10 before * |
| Red Hat / Red Hat Enterprise Linux 9.4 Extended Update Support | unaffected 0:1.13.1-8.el9_4.5 before * |
| Red Hat / Red Hat Enterprise Linux 6 | unknown |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected |
CWE
CWE-121
References
- https://access.redhat.com/errata/RHSA-2025:2500
- https://access.redhat.com/errata/RHSA-2025:2502
- https://access.redhat.com/errata/RHSA-2025:2861
- https://access.redhat.com/errata/RHSA-2025:2862
- https://access.redhat.com/errata/RHSA-2025:2865
- https://access.redhat.com/errata/RHSA-2025:2866
- https://access.redhat.com/errata/RHSA-2025:2873
- https://access.redhat.com/errata/RHSA-2025:2874
- https://access.redhat.com/errata/RHSA-2025:2875
- https://access.redhat.com/errata/RHSA-2025:2879
- https://access.redhat.com/errata/RHSA-2025:2880
- https://access.redhat.com/errata/RHSA-2025:3976
- https://access.redhat.com/errata/RHSA-2025:7163
- https://access.redhat.com/errata/RHSA-2025:7165
- https://access.redhat.com/errata/RHSA-2025:7458
- https://access.redhat.com/security/cve/CVE-2025-26595
- https://bugzilla.redhat.com/show_bug.cgi?id=2345257
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.