CVE-2024-9632: Xorg-x11-server: tigervnc: heap-based buffer overflow privilege escalation vulnerability

Published Oct 8, 2024
·
Updated

A flaw was found in the X.org server. Due to improperly tracked allocation size in XkbSetCompatMap, a local attacker may be able to trigger a buffer overflow condition via a specially crafted payload, leading to denial of service or local privilege escalation in distributions where the X.org server is run with root privileges.

Other sources

The XkbSetCompatMap() function attempts to resize the syminterpret buffer. However, it didn't update its size properly. It updated numsi only, without sizesi: https://gitlab.freedesktop.org/xorg/xserver/-/blob/cdb4d5648a818a8e8ab282341be37109589229ab/xkb/xkb.c#L2998

The exploit uses bitmap to achieve the arbitrary read and write. It leads to LPE for some distributions (xorg in debian xfce is run as root under specific display driver) and RCE for ssh x11 forwarding environment.

The exploit doesn't work if the OS installed on vmware and default virtualbox. It works on virtualbox with VBoxVGA graphic controller.

Red Hat

Xorg-x11-server: tigervnc: heap-based buffer overflow privilege escalation vulnerability

Microsoft

Affected Software

5 affected componentsFixes available
debian/xorg-server<=2:1.20.11-1+deb11u13
2:1.20.11-1+deb11u152:21.1.7-3+deb12u92:21.1.16-1
debian/xwayland<=2:22.1.9-1
2:24.1.6-1
Microsoft azl3 xorg-x11-server-Xwayland 24.1.1-3
Microsoft cbl2 xorg-x11-server 1.20.10-15
Microsoft cbl2 xorg-x11-server 1.20.10-13

Event History

Oct 8, 2024
Data Sourced
via Red Hat·01:44 PM
DescriptionSeverityAffected Software
Oct 30, 2024
CVE Published
via MITRE·07:42 AM
Data Sourced
via MITRE·07:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeakness
Data Sourced
via Ubuntu·11:17 AM
RemedyDescriptionSeverityAffected Software
Nov 20, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2024-9632?

CVE-2024-9632 has a high severity due to the potential for a buffer overflow that can be exploited by a local attacker.

2

How do I fix CVE-2024-9632?

To fix CVE-2024-9632, upgrade to the latest versions of xorg-server or xwayland that have addressed this vulnerability.

3

What software is affected by CVE-2024-9632?

CVE-2024-9632 affects the xorg-server and xwayland packages on Debian systems.

4

What type of vulnerability is CVE-2024-9632?

CVE-2024-9632 is classified as a buffer overflow vulnerability.

5

Can CVE-2024-9632 be exploited remotely?

CVE-2024-9632 requires local access for exploitation, making it less of a risk for remote attacks.

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