CVE-2018-15858 Null dereference in n/a
Local attackers can crash the xkbcommon parser via a crafted keymap file due to a NULL pointer dereference in key alias handling.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-15858?
CVE-2018-15858 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 25 Aug 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2018-15858?
It affects 3 products.
Products include Canonical Ubuntu Linux, Xkbcommon Libxkbcommon, Xkbcommon Xkbcommon.
How do I fix CVE-2018-15858?
Upgrade to a fixed version.
Is CVE-2018-15858 being exploited?
There is no known exploitation of CVE-2018-15858 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2018-15858, GHSA-4rvw-gf8w-hj4x, UBUNTU-CVE-2018-15858.