#VU85452 Heap-based buffer overflow in X.org Server and Xwayland - CVE-2024-21886


| Updated: 2024-02-12

Vulnerability identifier: #VU85452

Vulnerability risk: Low

CVSSv4.0: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2024-21886

CWE-ID: CWE-122

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
X.org Server
Server applications / Other server solutions
Xwayland
Client/Desktop applications / Multimedia software

Vendor: X.org

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error within the DisableDevice() function. A local user can trigger a heap-based buffer overflow and execute arbitrary code on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

X.org Server: 21.0.99.1 - 21.1.10

Xwayland: 23.0.99.901 - 23.2.3


External links
https://ubuntu.com/security/CVE-2024-21886
https://www.zerodayinitiative.com/advisories/ZDI-24-119/


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability