CVE-2025-26595 Xorg: xwayland: buffer overflow in xkbvmodmasktext()
A buffer overflow in X.Org and Xwayland allows attackers to execute arbitrary code or cause a denial of service via crafted virtual modifier names.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-26595?
CVE-2025-26595 is a high-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 25 Feb 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-26595?
It affects 4 products.
Linux distribution packages (19)
libxkbfile SUSE:Enterprise Storage 7.1 | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise Module for Basesystem 15 SP6 | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise Server 12 SP5-LTSS | All versions | 1.0.8-12.3.1 |
libxkbfile SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise Server 15 SP5-LTSS | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | All versions | 1.0.8-12.3.1 |
libxkbfile SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Linux Enterprise Server for SAP Applications 15 SP5 | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Manager Proxy 4.3 | All versions | 1.0.9-150000.3.3.1 |
libxkbfile SUSE:Manager Server 4.3 | All versions | 1.0.9-150000.3.3.1 |
libxkbfile openSUSE:Leap 15.6 | All versions | 1.0.9-150000.3.3.1 |
libxkbfile openSUSE:Tumbleweed | All versions | 1.1.3-2.1 |
Products include Redhat Enterprise Linux, Tigervnc Tigervnc, X.org X Server, X.org Xwayland.
How do I fix CVE-2025-26595?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-26595 being exploited?
There is no known exploitation of CVE-2025-26595 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
- CVE-2018-14667 Red Hat JBoss RichFaces Framework Expression Language Injection
- CVE-2021-20325 Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit
- CVE-2018-25011 Memory corruption in libwebp
- CVE-2018-25014 Other in libwebp
- CVE-2014-3585 Supply chain in redhat-upgrade-tool
Sources
Also known as AZL-57277, AZL-57378, AZL-57431, BELL-CVE-2025-26595, CLSA-2025-1742920518, DEBIAN-CVE-2025-26595 and 6 more.