Skip to content
OpenAdvisories
Unscored CVE-2018-15861 EUVD-2018-7718GHSA-c3hw-xwc7-5xgw

Unchecked NULL pointer usage in ExprResolveLhs in xkbcomp/expr.c in xkbcommon before 0.8.2 could be used by local attackers to crash (NULL …

Published Aug 25, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

Unchecked NULL pointer usage in ExprResolveLhs in xkbcomp/expr.c in xkbcommon before 0.8.2 could be used by local attackers to crash (NULL pointer dereference) the xkbcommon parser by supplying a crafted keymap file that triggers an xkb_intern_atom failure.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxkbcommon 0.8.2-1 —
Debian 14 x11-xkb-utils No fix yet —
Debian 13 libxkbcommon 0.8.2-1 —
Debian 13 x11-xkb-utils No fix yet —
Debian 12 libxkbcommon 0.8.2-1 —
Debian 12 x11-xkb-utils No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libxkbcommon 0.8.0-1ubuntu0.1 USN-3786-2
Ubuntu 16.04 LTS libxkbcommon 0.5.0-1ubuntu2.1 USN-3786-1
Ubuntu 14.04 LTS libxkbcommon 0.4.1-0ubuntu1.1 USN-3786-1
ReleasePackageFixed inAdvisory
RHEL 7 gdm +2 1:3.28.2-16.el7 RHSA-2019:2079
RHEL 7 libX11 +2 1.6.7-2.el7 RHSA-2019:2079
RHEL 7 libxkbcommon +3 0.7.1-3.el7 RHSA-2019:2079
RHEL 7 mesa-libGLw +1 8.0.0-5.el7 RHSA-2019:2079
RHEL 7 xorg-x11-drv-ati 19.0.1-2.el7 RHSA-2019:2079
RHEL 7 xorg-x11-drv-vesa 2.4.0-3.el7 RHSA-2019:2079
RHEL 7 xorg-x11-drv-wacom +1 0.36.1-3.el7 RHSA-2019:2079
RHEL 7 xorg-x11-server +9 1.20.4-7.el7 RHSA-2019:2079
ReleasePackageFixed inAdvisory
SLES 15 SP7 xkbcomp 1.4.1-150000.3.6.1 SUSE-SU-2025:4426-1
SLES 15 SP6 xkbcomp 1.4.1-150000.3.6.1 SUSE-SU-2025:4426-1
SLES 15 libxkbcommon 0.8.2-3.3.1 SUSE-SU-2018:3685-1
SLES 12 SP5 libxkbcommon 0.6.1-9.3.1 SUSE-SU-2024:0037-1
SLES 12 SP5 xkbcomp 1.2.4-11.3.1 SUSE-SU-2025:4407-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 xkbcomp 1.4.7-160000.3.1 SUSE-SU-2026:20186-1
SLES for SAP 12 SP5 libxkbcommon 0.6.1-9.3.1 SUSE-SU-2024:0037-1
SLES 16.0 xkbcomp 1.4.7-160000.3.1 SUSE-SU-2026:20186-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed xkbcomp 1.5.0-1.1 openSUSE-SU-2025:15815-1
openSUSE Leap 16.0 xkbcomp 1.4.7-160000.3.1 openSUSE-SU-2026:20123-1
openSUSE Leap 15.6 xkbcomp 1.4.1-150000.3.6.1 SUSE-SU-2025:4426-1
ReleasePackageFixed inAdvisory
Alpine v3.24 xkbcomp 1.5.0-r0 —
Alpine v3.23 xkbcomp 1.5.0-r0 —
Alpine v3.22 xkbcomp 1.5.0-r0 —
Alpine v3.21 xkbcomp 1.5.0-r0 —
Alpine v3.20 xkbcomp 1.5.0-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 xkbcomp 1.5.0-r0 —
Alpine v3.18 xkbcomp 1.5.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 xorg-x11-server-Xdmx +8 1.20.4-7.amzn2.0.1 ALAS2-2020-1433

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 gdm +2 1:3.28.2-16.el7 ELSA-2019-2079
Oracle Linux 7 libX11 +2 1.6.7-2.el7 ELSA-2019-2079
Oracle Linux 7 libxkbcommon +3 0.7.1-3.el7 ELSA-2019-2079
Oracle Linux 7 mesa-libGLw +1 8.0.0-5.el7 ELSA-2019-2079
Oracle Linux 7 xorg-x11-drv-ati 19.0.1-2.el7 ELSA-2019-2079
Oracle Linux 7 xorg-x11-drv-vesa 2.4.0-3.el7 ELSA-2019-2079
Oracle Linux 7 xorg-x11-drv-wacom +1 0.36.1-3.el7 ELSA-2019-2079
Oracle Linux 7 xorg-x11-server-Xdmx +8 1.20.4-7.el7 ELSA-2019-2079

Advisories 14

References