Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKeymap in xkbcomp/keycodes.c in xkbcommon before 0.8.1 could be used by local attackers to crash (NULL pointer dereference) the xkbcommon parser by supplying a crafted keymap file.
{ "vanir_signatures": [ { "source": "https://github.com/xkbcommon/libxkbcommon/commit/badb428e63387140720f22486b3acbd3d738859f", "deprecated": false, "id": "CVE-2018-15858-50d75490", "signature_version": "v1", "target": { "function": "CopyKeyAliasesToKeymap", "file": "src/xkbcomp/keycodes.c" }, "digest": { "function_hash": "186686948108093335100211637034822400959", "length": 1095.0 }, "signature_type": "Function" }, { "source": "https://github.com/xkbcommon/libxkbcommon/commit/badb428e63387140720f22486b3acbd3d738859f", "deprecated": false, "id": "CVE-2018-15858-ecd4f68f", "signature_version": "v1", "target": { "file": "src/xkbcomp/keycodes.c" }, "digest": { "line_hashes": [ "105902513952053338799186888379720812683", "2813125074525204487135130095179841291", "131041052524404914410509899012465260609", "290112449741970181751028486238856450678", "242851341871147170074241260793091770684", "152433531990571504873668951939946627689", "281007177730380793451923478109576055903", "203541298282925731688484467531696055910", "276973798188368871965725525755796654910", "70567054245202246809013427786548308546" ], "threshold": 0.9 }, "signature_type": "Line" } ] }