Null pointer dereference in libxkbcommon - CVE-2018-15859

 

Null pointer dereference in libxkbcommon - CVE-2018-15859

Published: November 16, 2018


Vulnerability identifier: #VU15925
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-15859
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: xkbcommon
Affected software:
libxkbcommon

Detailed vulnerability description

The vulnerability allows a local attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to NULL pointer usage condition by the ExprResolveLhs function, as defined in the xkbcomp/expr.c source code file. A local attacker can submit a specially crafted keymap file that submits malicious input, trigger NULL pointer dereference and cause the application to crash.


How to mitigate CVE-2018-15859

Update to version 0.8.1.

Sources