NULL Pointer Dereference Affecting libxkbcommon package, versions <0.5.0-1ubuntu2.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.43% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1604-LIBXKBCOMMON-263481
  • published25 Sept 2018
  • disclosed25 Aug 2018

Introduced: 25 Aug 2018

CVE-2018-15858  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Ubuntu:16.04 libxkbcommon to version 0.5.0-1ubuntu2.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libxkbcommon package and not the libxkbcommon package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

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.