{"id":"CVE-2018-15863","details":"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.","modified":"2026-04-16T06:20:18.980573768Z","published":"2018-08-25T21:29:02.483Z","related":["SUSE-SU-2018:3685-1","SUSE-SU-2024:0037-1","SUSE-SU-2025:4407-1","SUSE-SU-2025:4426-1","SUSE-SU-2026:20186-1","openSUSE-SU-2025:15815-1","openSUSE-SU-2026:20123-1"],"references":[{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201810-05"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3786-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/3786-2/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2079"},{"type":"FIX","url":"https://github.com/xkbcommon/libxkbcommon/commit/96df3106d49438e442510c59acad306e94f3db4d"},{"type":"FIX","url":"https://lists.freedesktop.org/archives/wayland-devel/2018-August/039243.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xkbcommon/libxkbcommon","events":[{"introduced":"0"},{"last_affected":"87046f56efc89d3b0771df9b4fefcda39ade3dd1"},{"introduced":"0"},{"last_affected":"87046f56efc89d3b0771df9b4fefcda39ade3dd1"},{"fixed":"96df3106d49438e442510c59acad306e94f3db4d"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.8.1"},{"introduced":"0"},{"last_affected":"0.8.1"}]}}],"versions":["xkbcommon-0.2.0","xkbcommon-0.3.0","xkbcommon-0.3.1","xkbcommon-0.3.2","xkbcommon-0.4.0","xkbcommon-0.4.1","xkbcommon-0.4.2","xkbcommon-0.4.3","xkbcommon-0.5.0","xkbcommon-0.6.0","xkbcommon-0.6.1","xkbcommon-0.7.0","xkbcommon-0.7.1","xkbcommon-0.7.2","xkbcommon-0.8.0","xkbcommon-0.8.1"],"database_specific":{"vanir_signatures":[{"digest":{"threshold":0.9,"line_hashes":["32549268266526631486732683895738359845","47001611622517045939498023296967119287","174557150422936232980393104794454199455","98943088990830972421453961971923884411"]},"deprecated":false,"signature_version":"v1","target":{"file":"src/xkbcomp/compat.c"},"signature_type":"Line","id":"CVE-2018-15863-428c78fe","source":"https://github.com/xkbcommon/libxkbcommon/commit/96df3106d49438e442510c59acad306e94f3db4d"},{"signature_version":"v1","signature_type":"Function","digest":{"length":850,"function_hash":"201718672927802237784468763089454655298"},"target":{"function":"ResolveStateAndPredicate","file":"src/xkbcomp/compat.c"},"deprecated":false,"id":"CVE-2018-15863-80c64928","source":"https://github.com/xkbcommon/libxkbcommon/commit/96df3106d49438e442510c59acad306e94f3db4d"}],"vanir_signatures_modified":"2026-04-11T12:27:43Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15863.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"14.04"}]},{"events":[{"introduced":"0"},{"last_affected":"16.04"}]},{"events":[{"introduced":"0"},{"last_affected":"18.04"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}