Unchecked NULL pointer usage in ResolveStateAndPredicate in xkbcomp/compat.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 with a no-op modmask expression.
https://usn.ubuntu.com/3786-2/
https://usn.ubuntu.com/3786-1/
https://security.gentoo.org/glsa/201810-05
https://lists.freedesktop.org/archives/wayland-devel/2018-August/039243.html
https://github.com/xkbcommon/libxkbcommon/commit/96df3106d49438e442510c59acad306e94f3db4d