| Name | CVE-2018-15861 |
| Description | 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. |
| 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/38e1766bc6e20108948aec8a0b222a4bad0254e9
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/c342635409cd687da0eda323ef4f165b11565052
For x11-xkb-utils/xkbcomp negligible security impact, crash in CLI tool