NULL Pointer Dereference Affecting libxkbcommon-x11-devel package, versions <0:0.7.1-3.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.54% (43rd 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-RHEL7-LIBXKBCOMMONX11DEVEL-4914622
  • published26 Jul 2021
  • disclosed26 Jun 2017

Introduced: 26 Jun 2017

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

How to fix?

Upgrade RHEL:7 libxkbcommon-x11-devel to version 0:0.7.1-3.el7 or higher.
This issue was patched in RHSA-2019:2079.

NVD Description

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

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.

CVSS Base Scores

version 3.1