CVE-2018-15861 Null dereference in n/a

Medium 5.5 Published Updated

Local attackers can crash the xkbcommon parser via a crafted keymap file due to an unchecked 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-15861?

CVE-2018-15861 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 ExprResolveLhs 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 that triggers an xkb_intern_atom failure.

Weakness: CWE-476

Which versions are affected by CVE-2018-15861?

It affects 3 products.

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

How do I fix CVE-2018-15861?

Upgrade to a fixed version.

Is CVE-2018-15861 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-15861, BELL-CVE-2018-15861, DEBIAN-CVE-2018-15861, ECHO-2ebd-53a1-7608, GHSA-c3hw-xwc7-5xgw, UBUNTU-CVE-2018-15861.

Is CVE-2018-15861 in your software?

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

Check your SBOMs for free