Null pointer dereference in libxkbcommon - CVE-2018-15863
Published: November 16, 2018
Vulnerability details
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 ResolveStateAndPredicate function, as defined in the xkbcomp/compat.c source code file. A local attacker can submit a specially crafted keymap file that submits malicious input to an affected system with a no-op modmaskexpression, trigger NULL pointer dereference and cause the application to crash.
Affected software
Gentoo Linux
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
OpenBSD
Opensuse
Basesystem Module
openSUSE Leap
libxkbcommon-devel
libxkbcommon-x11-0-debuginfo-32bit
libxkbcommon-x11-0-32bit
libxkbcommon0-debuginfo-32bit
libxkbcommon0-32bit
libxkbcommon-x11-0-debuginfo
libxkbcommon0-debuginfo
libxkbcommon-x11-0
libxkbcommon0
libxkbcommon-debugsource
libxkbcommon-x11-devel
xkbcomp
xkbcomp-devel
xkbcomp-debugsource
xkbcomp-debuginfo
How to mitigate CVE-2018-15863
libxkbcommon-devel - update to 0.6.1-9.3.1
libxkbcommon-x11-0-debuginfo-32bit - update to 0.6.1-9.3.1
libxkbcommon-x11-0-32bit - update to 0.6.1-9.3.1
libxkbcommon0-debuginfo-32bit - update to 0.6.1-9.3.1
libxkbcommon0-32bit - update to 0.6.1-9.3.1
libxkbcommon-x11-0-debuginfo - update to 0.6.1-9.3.1
libxkbcommon0-debuginfo - update to 0.6.1-9.3.1
libxkbcommon-x11-0 - update to 0.6.1-9.3.1
libxkbcommon0 - update to 0.6.1-9.3.1
libxkbcommon-debugsource - update to 0.6.1-9.3.1
libxkbcommon-x11-devel - update to 0.6.1-9.3.1
xkbcomp - addressed in versions 1.2.4-11.3.1, 1.4.1-150000.3.6.1
xkbcomp-devel - addressed in versions 1.2.4-11.3.1, 1.4.1-150000.3.6.1
xkbcomp-debugsource - addressed in versions 1.2.4-11.3.1, 1.4.1-150000.3.6.1
xkbcomp-debuginfo - addressed in versions 1.2.4-11.3.1, 1.4.1-150000.3.6.1