Where
-Infinity
0

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-56001.

First published (updated )
Advisory
ZDI-26-406
Severity
8.5
Buffer Overflow
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

glamorfontget() builds a per-font texture atlas by laying out every glyph in the font into a single backing buffer. It computes the slot dimensions from the font's declared maxbounds, but copies each per-glyph bitmap using the individual glyph's metrics (GLYPHHEIGHTPIXELS/GLYPHWIDTHBYTES macros). There is no check that maxbounds actually bounds the per-glyph values.

When the font is loaded from a malicious PCF file whose per-glyph metrics exceed the file's maxbounds, the per-glyph memcpy writes far beyond the heap-allocated slot, producing a heap buffer overflow with attacker-controlled extent and attacker-controlled content.

An authenticated X client can trigger this by using SetFontPath to add a directory containing a crafted PCF font, loading the font with OpenFont, and drawing text on a glamor-backed drawable. Only servers using the glamor acceleration backend (Xorg with modesetting driver, Xwayland) are affected.

1 / 2
Source: Red Hat
First published (updated )
Severity
7
Buffer Overflow

glamorfontget() builds a per-font texture atlas by laying out every glyph in the font into a single backing buffer. It computes the slot dimensions from the font's declared maxbounds, but copies each per-glyph bitmap using the individual glyph's metrics (GLYPHHEIGHTPIXELS/GLYPHWIDTHBYTES macros). There is no check that maxbounds actually bounds the per-glyph values.

When the font is loaded from a malicious PCF file whose per-glyph metrics exceed the file's maxbounds, the per-glyph memcpy writes far beyond the heap-allocated slot, producing a heap buffer overflow with attacker-controlled extent and attacker-controlled content.

An authenticated X client can trigger this by using SetFontPath to add a directory containing a crafted PCF font, loading the font with OpenFont, and drawing text on a glamor-backed drawable. Only servers using the glamor acceleration backend (Xorg with modesetting driver, Xwayland) are affected.

First published (updated )

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-50257.

First published (updated )
Advisory
ZDI-26-391

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-50258.

First published (updated )
Advisory
ZDI-26-392

This vulnerability allows local attackers to disclose sensitive information on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 5.5. The following CVEs are assigned: CVE-2026-50263.

First published (updated )
Advisory
ZDI-26-397

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2026-34003.

First published (updated )
Severity
7

A client that requests multiple DRI2BufferBackLeft attachments and one DRI2BufferFrontLeft can trigger an out-of-bounds heap write in DRIGetBuffers/DRIGetBuffersWithFormat.

Any local X client that can connect to the server can trigger this issue. This may be used to crash the server, or for privilege escalation if the X server runs as root.

Components affected: xorg-x11-server, xorg-x11-server-Xwayland Versions affected: xorg-x11-server <= 21.1.22, xorg-x11-server-Xwayland <= 24.1.9

Fixed upstream in xorg-server-21.1.23 and xwayland-24.1.12. Fix: https://gitlab.freedesktop.org/xorg/xserver/-/commit/339c279514326134b0878fc23ce6e9520440ce7f

Identified by Peter Hutterer, Red Hat. Tracking: PSIRTSUPT-16950.

First published (updated )

Please update

Remedy

Before applying this update, make sure all previously released errata<br>relevant to your system have been applied.<br>For details on how to apply this update, refer to:<br><a href="https://access.redhat.com/articles/11258" target="_blank">https://access.redhat.com/articles/11258</a>
First published (updated )

On Wed, Aug 13, 2025 at 07:00:58PM +0200, Vincent Lefevre wrote: The following makes the xterm terminal crash

touch "$(printf "file\e[H\e[c\n\b")" gunzip file

due to malicious character sequences in the file name and a bug in xterm. Same issue with bunzip2 instead of gunzip. I do not expect this to only happen with gunzip and bzip2. Does this happen with any program that prints the filename without any escaping, e.g., "echo file", and most programs that print the provided filename ...

On Aug 17, 2025, at 10:09 AM, Erik Auerswald <auerswal () unix-ag uni-kl de> wrote: I'd expect most programs to not change the filename printed in their output. POSIX does not even expect "ls" to sanitize its output without "-q", but it does allow it[0]. Two more example programs that do not sanitize filenames in their output would be "file", at least version "5.41", and "dash", at least the version[1] included in Ubuntu GNU/Linux 22.04.5 LTS. I'd expect that you can find many more examples. Getting every program changed to follow your expectation seems like a Sisyphean task to me.

Please note that I am not opposed to adding that feature to every existing and future program, it just seems foolish to rely on it, at least currently. I agree. It'd be much more secure if the operating simply prevented the creation of filenames with certain names, e.g,. containing control characters and leading dashes. I wrote an essay here specifically about this: https://dwheeler.com/essays/fixing-unix-linux-filenames.html See section 1.3, "Oh, and don’t display filenames. Filenames could contain control characters that control the terminal (and X-windows), causing nasty side-effects on display. Displaying filenames can even cause a security vulnerability — and who expects printing a filename to be a vulnerability?!?" It's not a new problem, I knew about this in the 1980s and I'm sure others did too.

I proposed forbidding such characters to POSIX. They did add a few mechanisms to POSIX to make it somewhat easier to handle filenames with control characters (e.g., find -print0 and xargs -0). However, although they do not require that operating systems allow these filenames, they are not forbidden either.

I have a draft Linux Security Module (LSM) that lets you determine what kind of filenames are allowed to be created. By default it would require non-control-chars, no leading '-', no trailing ' ', and UTF-8 encoding, but it would let you configure further. I intend to go back to that to finish it off & propose it. My original proposal merely prevented creation; it would be possible to hide them entirely, but that comes with its own issues.

--- David A. Wheeler

Hi,

On Wed, Aug 13, 2025 at 07:00:58PM +0200, Vincent Lefevre wrote: The following makes the xterm terminal crash

touch "$(printf "file\e[H\e[c\n\b")" gunzip file

due to malicious character sequences in the file name and a bug in xterm. Same issue with bunzip2 instead of gunzip. I do not expect this to only happen with gunzip and bzip2. Does this happen with any program that prints the filename without any escaping, e.g., "echo file", and most programs that print the provided filename when reporting any associated problem (i.e., all that do not escape or suppress non-printable filename characters or bytes)? [...] Best regards, Erik

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2025-26594.

First published (updated )
Advisory
ZDI-25-143

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2025-26596.

First published (updated )

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2025-26595.

First published (updated )
Advisory
ZDI-25-142

This vulnerability allows local attackers to escalate privileges on affected installations of X.Org Server. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.8. The following CVEs are assigned: CVE-2024-0229.

First published (updated )
Buffer Overflow, Use After Free

Xwayland is an X server for running X clients under Wayland.<br>Security Fix(es):<br><li> xorg-x11-server: buffer overflow in GetCountedString() in xkb/xkb.c (CVE-2022-3550)</li> <li> xorg-x11-server: XkbGetKbdByName use-after-free (CVE-2022-4283)</li> <li> xorg-x11-server: XTestSwapFakeInput stack overflow (CVE-2022-46340)</li> <li> xorg-x11-server: XIPassiveUngrab out-of-bounds access (CVE-2022-46341)</li> <li> xorg-x11-server: XvdiSelectVideoNotify use-after-free (CVE-2022-46342)</li> <li> xorg-x11-server: ScreenSaverSetAttributes use-after-free (CVE-2022-46343)</li> <li> xorg-x11-server: XIChangeProperty out-of-bounds access (CVE-2022-46344)</li> <li> xorg-x11-server: DeepCopyPointerClasses use-after-free leads to privilege elevation (CVE-2023-0494)</li> <li> xorg-x11-server: memory leak in ProcXkbGetKbdByName() in xkb/xkb.c (CVE-2022-3551)</li> For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.<br>Additional Changes:<br>For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.8 Release Notes linked from the References section.

Remedy

<tbody><tr> <th colspan="2">SRPM</th> </tr> <tr> <td class="name"> xorg-x11-server-Xwayland-21.1.3-10.el8.src.rpm </td> <td class="checksum">SHA-256: 094b933f16819061d8f905ab05ea158013e92160f0cbe4b76c724b9f22853919</td> </tr> <tr> <th colspan="2">ppc64le</th> </tr> <tr> <td class="name"> xorg-x11-server-Xwayland-21.1.3-10.el8.ppc64le.rpm </td> <td class="checksum">SHA-256: af290fddb08f4edd26171858aca462a6a63b37d2f8832a9429e3d6e75986a07f</td> </tr> <tr> <td class="name"> xorg-x11-server-Xwayland-debuginfo-21.1.3-10.el8.ppc64le.rpm </td> <td class="checksum">SHA-256: ee91c34ad32cd9cdf0a9c9a9e5a9191125481024c887bc286d42f15ada5f9cb0</td> </tr> <tr> <td class="name"> xorg-x11-server-Xwayland-debugsource-21.1.3-10.el8.ppc64le.rpm </td> <td class="checksum">SHA-256: c0af522d80167f8c84744ccc920932e4f6a6be413037a15b2b5e54b978955e28</td> </tr> </tbody>Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions 8.8 <tbody><tr> <th colspan="2">SRPM</th> </tr> <tr> <td class="name"> xorg-x11-server-Xwayland-21.1.3-10.el8.src.rpm </td> <td class="checksum">SHA-256: 094b933f16819061d8f905ab05ea158013e92160f0cbe4b76c724b9f22853919</td> </tr> <tr> <th colspan="2">x86_64</th> </tr> <tr> <td class="name"> xorg-x11-server-Xwayland-21.1.3-10.el8.x86_64.rpm </td> <td class="checksum">SHA-256: 3547c52ef01fde1f4a70cecb893f5784f15db081d19e82d10a1853c63998a3d7</td> </tr> <tr> <td class="name"> xorg-x11-server-Xwayland-debuginfo-21.1.3-10.el8.x86_64.rpm </td> <td class="checksum">SHA-256: 3661edacd509d0b4f8e98d5ff9730e2690cfdac48afd81dc0ce5a51f68c13202</td> </tr> <tr> <td class="name"> xorg-x11-server-Xwayland-debugsource-21.1.3-10.el8.x86_64.rpm </td> <td class="checksum">SHA-256: 0f7e4d85d38d01e7ddf320fa4cc9377d59f32be0a93f1cd964a052f327758bba</td> </tr> </tbody>
First published (updated )
Severity
1

It was found that XKB actions for debugging X.org clients were enabled by default. This could cause a screen locking application such as gnome-screensaver to be killed when those key combinations were triggered.

The debugging key actions were introduced in the following commit: http://cgit.freedesktop.org/xorg/xserver/commit/?id=7d2543a3cb3089241982ce4f8984fd723d5312a1

Reference: http://thread.gmane.org/gmane.comp.security.oss.general/6725

Mitigation: http://thread.gmane.org/gmane.comp.security.oss.general/6725/focus=6731

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203