CVE-2018-15853: Endless recursion exists in xkbcomp/expr.c in xkbcommon and libxkbcommon before 0.8.1, which could be used by
CVE-2018-15853 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.
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.
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.5% (top 55%) |
| CISA exploited list | No |
| Weakness | CWE-400 |
| 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-15853?
libxkbcommon: upgrade to 0.8.1; xkbcommon: upgrade to 0.8.1; ubuntu linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-15853 being exploited?
CVE-2018-15853 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-15853 affect?
CVE-2018-15853 affects libxkbcommon, xkbcommon, ubuntu linux. Severity is medium (CVSS 5.5). 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.
How urgent is CVE-2018-15853?
Priority 36/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-15862 MEDIUM 5.5 UPGRADE UPGRADE Unchecked NULL pointer usage in LookupModMask in xkbcomp/expr.c in xkbcommon before 0.8.2 could be used by loc
- 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