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


Published: 2024-01-16 | Updated: 2024-02-12

Vulnerability identifier: #VU85452

Vulnerability risk: Low

CVSSv3.1: 6.8 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

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
http://ubuntu.com/security/CVE-2024-21886
http://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