{"id":"CVE-2018-15861","details":"Unchecked NULL pointer usage in ExprResolveLhs in xkbcomp/expr.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 that triggers an xkb_intern_atom failure.","modified":"2026-08-20T16:43:32.514536Z","published":"2018-08-25T21:29:02.280Z","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":[{"cpes":["cpe:2.3:a:xkbcommon:xkbcommon:*:*:*:*:*:*:*:*"],"extracted_events":[{"last_affected":"0.8.1"}],"source":"CPE_RANGE","vendor_product":"xkbcommon:xkbcommon"},{"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:*:*:*"],"extracted_events":[{"introduced":"14.04"},{"last_affected":"14.04"},{"introduced":"16.04"},{"last_affected":"16.04"},{"introduced":"18.04"},{"last_affected":"18.04"}],"source":"CPE_STRING","vendor_product":"canonical:ubuntu_linux"}]},"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/38e1766bc6e20108948aec8a0b222a4bad0254e9"},{"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"},{"fixed":"38e1766bc6e20108948aec8a0b222a4bad0254e9"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.8.1"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:xkbcommon:libxkbcommon:*:*:*:*:*:*:*:*"}}],"versions":["xkbcommon-0.8.1","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":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-15861.json","vanir_signatures_modified":"2026-08-20T16:43:32Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/xkbcommon/libxkbcommon/commit/38e1766bc6e20108948aec8a0b222a4bad0254e9","target":{"file":"src/xkbcomp/expr.c"},"deprecated":false,"digest":{"line_hashes":["175774263160934243552466536784463886460","29792962635781937238241845947226447142","122428947483686325534453935867743759180","262686909748002111389933887153581256306"],"threshold":0.9},"id":"CVE-2018-15861-93523a78","signature_type":"Line"},{"digest":{"length":772,"function_hash":"278895155981102000261140200257513622388"},"id":"CVE-2018-15861-93f2b488","signature_type":"Function","signature_version":"v1","source":"https://github.com/xkbcommon/libxkbcommon/commit/38e1766bc6e20108948aec8a0b222a4bad0254e9","target":{"file":"src/xkbcomp/expr.c","function":"ExprResolveLhs"},"deprecated":false}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}