Unchecked NULL pointer usage in LookupModMask 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 with invalid virtual modifiers.
[
{
"source": "https://github.com/xkbcommon/libxkbcommon/commit/4e2ee9c3f6050d773f8bbe05bc0edb17f1ff8371",
"signature_version": "v1",
"signature_type": "Line",
"target": {
"file": "src/xkbcomp/expr.c"
},
"id": "CVE-2018-15862-1f756a73",
"digest": {
"line_hashes": [
"207605293108385811256869450954427532205",
"161757858347502194683398663803400346794",
"324306618126749902025397656962861478277",
"70812620858281766667010722060269493189"
],
"threshold": 0.9
},
"deprecated": false
},
{
"source": "https://github.com/xkbcommon/libxkbcommon/commit/4e2ee9c3f6050d773f8bbe05bc0edb17f1ff8371",
"signature_version": "v1",
"signature_type": "Function",
"target": {
"function": "LookupModMask",
"file": "src/xkbcomp/expr.c"
},
"id": "CVE-2018-15862-8e347297",
"digest": {
"length": 576.0,
"function_hash": "246470118387212733721000661341588445321"
},
"deprecated": false
}
]