CVE-2018-15862: Unchecked NULL pointer usage in LookupModMask in xkbcomp/expr.c in xkbcommon before 0.8.2 could be used by loc
CVE-2018-15862 is a medium-severity flaw (CVSS 5.5) affecting libxkbcommon, xkbcommon, ubuntu linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 62%) |
| CISA exploited list | No |
| Weakness | CWE-476 |
| Published | 2018-08-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-15862?
libxkbcommon: upgrade to newer than 0.8.1; xkbcommon: upgrade to newer than 0.8.1; ubuntu linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-15862 being exploited?
CVE-2018-15862 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-15862 affect?
CVE-2018-15862 affects libxkbcommon, xkbcommon, ubuntu linux. Severity is medium (CVSS 5.5). 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 modi
How urgent is CVE-2018-15862?
Priority 34/100. On your watchlist
Software pages
Related CVEs
- CVE-2018-15864 MEDIUM 5.5 UPGRADE UPGRADE Unchecked NULL pointer usage in resolve_keysym in xkbcomp/parser.y in xkbcommon before 0.8.2 could be used by
- CVE-2018-15863 MEDIUM 5.5 UPGRADE UPGRADE Unchecked NULL pointer usage in ResolveStateAndPredicate in xkbcomp/compat.c in xkbcommon before 0.8.2 could b
- CVE-2018-15861 MEDIUM 5.5 UPGRADE UPGRADE Unchecked NULL pointer usage in ExprResolveLhs in xkbcomp/expr.c in xkbcommon before 0.8.2 could be used by lo
- CVE-2018-15859 MEDIUM 5.5 UPGRADE UPGRADE Unchecked NULL pointer usage when parsing invalid atoms in ExprResolveLhs in xkbcomp/expr.c in xkbcommon befor
- CVE-2018-15858 MEDIUM 5.5 UPGRADE UPGRADE Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKeymap in xkbcomp/keycodes.c in