{"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-07-08T14:14:48.597699Z","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":[{"vendor_product":"xkbcommon:xkbcommon","source":"CPE_RANGE","extracted_events":[{"fixed":"0.8.1"}],"cpes":["cpe:2.3:a:xkbcommon:xkbcommon:*:*:*:*:*:*:*:*"]},{"vendor_product":"canonical:ubuntu_linux","source":"CPE_STRING","extracted_events":[{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"}],"cpes":["cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","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_RANGE","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.8.1"}],"cpe":"cpe:2.3:a:xkbcommon:libxkbcommon:*:*:*:*:*:*:*:*"}}],"versions":["xkbcommon-0.8.0","xkbcommon-0.7.2","xkbcommon-0.7.1","xkbcommon-0.7.0","xkbcommon-0.6.1","xkbcommon-0.6.0","xkbcommon-0.5.0","xkbcommon-0.4.3","xkbcommon-0.4.2","xkbcommon-0.4.1","xkbcommon-0.4.0","xkbcommon-0.3.2","xkbcommon-0.3.1","xkbcommon-0.3.0","xkbcommon-0.2.0"],"database_specific":{"vanir_signatures":[{"deprecated":false,"signature_type":"Line","target":{"file":"src/xkbcomp/expr.c"},"source":"https://github.com/xkbcommon/libxkbcommon/commit/1f9d1248c07cda8aaff762429c0dce146de8632a","signature_version":"v1","digest":{"line_hashes":["38329813360607004553092467826760994406","182458909361269598744252420272304667328","265924496730946848593345593789483999581","112869328122952996430498009101837060069"],"threshold":0.9},"id":"CVE-2018-15853-4ce843d1"},{"deprecated":false,"signature_type":"Function","target":{"file":"src/xkbcomp/expr.c","function":"ExprResolveBoolean"},"source":"https://github.com/xkbcommon/libxkbcommon/commit/1f9d1248c07cda8aaff762429c0dce146de8632a","signature_version":"v1","digest":{"function_hash":"209006827910055964214525848213169957960","length":1539},"id":"CVE-2018-15853-e0dd6fde"}],"vanir_signatures_modified":"2026-07-08T14:14:48Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15853.json"}}],"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"}]}