| Name | CVE-2018-15859 |
| Description | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 907302, 1122063 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| libxkbcommon (PTS) | bullseye | 1.0.3-2 | fixed |
| bookworm | 1.5.0-1 | fixed |
| trixie | 1.7.0-2 | fixed |
| forky, sid | 1.12.3-1 | fixed |
| x11-xkb-utils (PTS) | bullseye | 7.7+5 | vulnerable |
| bookworm | 7.7+7 | vulnerable |
| forky, sid, trixie | 7.7+9 | vulnerable |
The information below is based on the following data on fixed versions.
Notes
[stretch] - libxkbcommon <ignored> (Minor issue)
[jessie] - libxkbcommon <no-dsa> (Minor issue)
https://github.com/xkbcommon/libxkbcommon/commit/bb4909d2d8fa6b08155e449986a478101e2b2634
https://lists.freedesktop.org/archives/wayland-devel/2018-August/039243.html
https://www.openwall.com/lists/oss-security/2025/12/03/1
https://gitlab.freedesktop.org/xorg/app/xkbcomp/-/commit/895e080b237e346a43a31edf9dee6143c2abf230
For x11-xkb-utils/xkbcomp negligible security impact, crash in CLI tool