CVE-2018-15856 Denial of service in n/a

Medium 5.5 Published Updated

Local attackers can cause a denial of service via an infinite loop in the xkbcommon library when parsing crafted keymap files.

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

CVE-2018-15856 is a medium-severity denial of service 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

An infinite loop when reaching EOL unexpectedly in compose/parser.c (aka the keymap parser) in xkbcommon before 0.8.1 could be used by local attackers to cause a denial of service during parsing of crafted keymap files.

Weakness: CWE-835

Which versions are affected by CVE-2018-15856?

It affects 2 products.

Products include Canonical Ubuntu Linux, Xkbcommon Xkbcommon.

How do I fix CVE-2018-15856?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-15856 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-15856, GHSA-78rh-27p9-chj5, UBUNTU-CVE-2018-15856.

Is CVE-2018-15856 in your software?

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

Check your SBOMs for free