CVE-2018-15858 Null dereference in n/a

Medium 5.5 Published Updated

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.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-15858, GHSA-4rvw-gf8w-hj4x, UBUNTU-CVE-2018-15858.

Is CVE-2018-15858 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free