CVE-2018-15864 Null dereference in n/a

Medium 5.5 Published Updated

Local attackers can crash the xkbcommon parser by supplying a crafted keymap file, causing a denial of service via NULL pointer dereference.

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-15864?

CVE-2018-15864 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 in resolve_keysym in xkbcomp/parser.y 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, because a map access attempt can occur for a map that was never created.

Weakness: CWE-476

Which versions are affected by CVE-2018-15864?

It affects 3 products.

Products include Canonical Ubuntu Linux, Xkbcommon Libxkbcommon, Xkbcommon Xkbcommon.

How do I fix CVE-2018-15864?

Upgrade to a fixed version.

Is CVE-2018-15864 being exploited?

There is no known exploitation of CVE-2018-15864 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-15864, GHSA-rp9j-m9xr-vr7x, UBUNTU-CVE-2018-15864.

Is CVE-2018-15864 in your software?

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

Check your SBOMs for free