{"id":"CVE-2018-15853","details":"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.","modified":"2026-04-16T01:43:12.319149578Z","published":"2018-08-25T21:29:01.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-2024:11014-1","openSUSE-SU-2025:15815-1","openSUSE-SU-2026:20123-1"],"database_specific":{"unresolved_ranges":[{"extracted_events":[{"last_affected":"14.04"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*"},{"source":"CPE_FIELD","extracted_events":[{"last_affected":"16.04"}],"cpe":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*"},{"extracted_events":[{"last_affected":"18.04"}],"source":"CPE_FIELD","cpe":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"}]},"references":[{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:2079"},{"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":"FIX","url":"https://github.com/xkbcommon/libxkbcommon/commit/1f9d1248c07cda8aaff762429c0dce146de8632a"},{"type":"FIX","url":"https://lists.freedesktop.org/archives/wayland-devel/2018-August/039232.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xkbcommon/libxkbcommon","events":[{"introduced":"0"},{"fixed":"87046f56efc89d3b0771df9b4fefcda39ade3dd1"},{"fixed":"1f9d1248c07cda8aaff762429c0dce146de8632a"}],"database_specific":{"source":["CPE_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.8.1"}],"cpe":["cpe:2.3:a:xkbcommon:libxkbcommon:*:*:*:*:*:*:*:*","cpe:2.3:a:xkbcommon:xkbcommon:*:*:*:*:*:*:*:*"]}}],"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"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-15853.json","vanir_signatures":[{"source":"https://github.com/xkbcommon/libxkbcommon/commit/1f9d1248c07cda8aaff762429c0dce146de8632a","id":"CVE-2018-15853-4ce843d1","signature_type":"Line","signature_version":"v1","deprecated":false,"target":{"file":"src/xkbcomp/expr.c"},"digest":{"line_hashes":["38329813360607004553092467826760994406","182458909361269598744252420272304667328","265924496730946848593345593789483999581","112869328122952996430498009101837060069"],"threshold":0.9}},{"source":"https://github.com/xkbcommon/libxkbcommon/commit/1f9d1248c07cda8aaff762429c0dce146de8632a","id":"CVE-2018-15853-e0dd6fde","signature_type":"Function","signature_version":"v1","deprecated":false,"target":{"function":"ExprResolveBoolean","file":"src/xkbcomp/expr.c"},"digest":{"function_hash":"209006827910055964214525848213169957960","length":1539}}],"vanir_signatures_modified":"2026-04-11T18:44:05Z"}}],"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"}]}