Improper input validation in libxkbcommon - CVE-2018-15857

 

Improper input validation in libxkbcommon - CVE-2018-15857

Published: November 13, 2018


Vulnerability identifier: #VU15817
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-15857
CWE-ID: CWE-20
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 an invalid-free error in the ExprAppendMultiKeysymList function, as defined in the xkbcomp/ast-build.c source code file. A local attacker can submit a specially crafted keymap file that submits malicious input and cause the application to crash.


How to mitigate CVE-2018-15857

Update to version 0.8.1.

Sources