CVE-2018-15859Xkbcommon Libxkbcommon
Medium 5.5
Follow: this CVE · Xkbcommon · Xkbcommon Libxkbcommon We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.0
- 5.5
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 47
- Auth required
- Yes
- Published
- Aug 25, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-476
- Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
Unchecked NULL pointer usage when parsing invalid atoms 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, because lookup failures are mishandled.
What to do
- Apply the vendor's security update for Libxkbcommon.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xkbcommon | libxkbcommon | ≤ 0.8.1 |
| xkbcommon | xkbcommon | ≤ 0.8.1 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
Official advisories
- Security update for xkbcomp · SUSE · openSUSE-SU-2026:20123-1 · Jan 28, 2026 Medium
- Security update for xkbcomp · SUSE · SUSE-SU-2026:20186-1 · Jan 28, 2026 Medium
- Security update for xkbcomp · SUSE · SUSE-SU-2025:4426-1 · Dec 17, 2025 Medium
Also: SUSE (+2)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com
- github.com Patch Third Party Advisory
- lists.freedesktop.org Mailing List Patch Third Party Advisory
- security.gentoo.org Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory