CVE-2018-15861

NameCVE-2018-15861
DescriptionUnchecked 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.
SourceCVE (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 Bugs907302, 1122063

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxkbcommon (PTS)bullseye1.0.3-2fixed
bookworm1.5.0-1fixed
trixie1.7.0-2fixed
forky, sid1.12.3-1fixed
x11-xkb-utils (PTS)bullseye7.7+5vulnerable
bookworm7.7+7vulnerable
forky, sid, trixie7.7+9vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxkbcommonsource(unstable)0.8.2-1low907302
x11-xkb-utilssource(unstable)(unfixed)unimportant1122063

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

Search for package or bug name: Reporting problems