CVE-2018-15858NULL Pointer Dereference in Libxkbcommon

Severity
5.5MEDIUMNVD
EPSS
0.1%
top 82.19%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 25
Latest updateMay 14

Description

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.

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages5 packages

NVDxkbcommon/xkbcommon< 0.8.1
debiandebian/libxkbcommon< libxkbcommon 0.8.2-1 (bookworm)
Debianxkbcommon/libxkbcommon< 0.8.2-1+3
Ubuntuxkbcommon/libxkbcommon< 0.4.1-0ubuntu1.1+2

Also affects: Ubuntu Linux 14.04, 16.04, 18.04

Patches

🔴Vulnerability Details

4
GHSA
GHSA-4rvw-gf8w-hj4x: Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKeymap in xkbcomp/keycodes2022-05-14
OSV
libxkbcommon vulnerabilities2018-11-06
OSV
libxkbcommon vulnerabilities2018-10-08
OSV
CVE-2018-15858: Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKeymap in xkbcomp/keycodes2018-08-25

📋Vendor Advisories

4
Ubuntu
libxkbcommon vulnerabilities2018-11-06
Ubuntu
libxkbcommon vulnerabilities2018-10-08
Red Hat
libxkbcommon: NULL pointer dereference when handling invalid aliases in CopyKeyAliasesToKeymap resulting in a crash2018-07-23
Debian
CVE-2018-15858: libxkbcommon - Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKe...2018

💬Community

1
Bugzilla
CVE-2018-15858 libxkbcommon: NULL pointer dereference when handling invalid aliases in CopyKeyAliasesToKeymap resulting in a crash2018-08-28