CVE-2018-15858 json
Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKeymap in xkbcomp/keycodes.c in xkbcommon before 0.8.1 could…
published 2018-08-25 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-7715
- cvss
- 5.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- xkbcommon libxkbcommon 0.8.1
- xkbcommon xkbcommon 0.8.1
- libxkbcommon Debian 14, Debian 13, Debian 12 0.8.2-1
debian advisories DEBIAN-CVE-2018-15858
- libxkbcommon Ubuntu 16.04 LTS 0.5.0-1ubuntu2.1
- libxkbcommon Ubuntu 18.04 LTS 0.8.0-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2018-15858
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libxkbcommon SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 0.6.1-9.3.1
- libxkbcommon SLE Module for Basesystem 15 0.8.2-3.3.1
suse advisories SUSE-SU-2024:0037-1SUSE-SU-2018:3685-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-15858 updated cvss 3.3
libxkbcommon: NULL pointer dereference when handling invalid aliases in CopyKeyAliasesToKeymap resulting in a crash
-
Red Hat Enterprise Linux 7 libxkbcommon, libxkbcommon-x11 Red Hat Enterprise Linux 8 libxkbcommon, libxkbcommon-x11not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/xkbcommon/libxkbcommon/commit/badb428e63387140720f22486b3acbd3d738859f
patch, third-party-advisory
-
lists.freedesktop.org
/archives/wayland-devel/2018-August/039232.html
mailing-list, patch, third-party-advisory
-
security.gentoo.org
/glsa/201810-05
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3786-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3786-2/
vendor-advisory, third-party-advisory
Sources
- CVE List CVE-2018-15858
- NVD CVE-2018-15858
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.