Endless recursion exists in xkbcomp/expr.c in xkbcommon and libxkbcommon before 0.8.1, which could be used by local attackers to crash xkbcommon users by supplying a crafted keymap file that triggers boolean negation.
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/039232.html
https://github.com/xkbcommon/libxkbcommon/commit/1f9d1248c07cda8aaff762429c0dce146de8632a