libxkbcommon: xkbcomp: NULL pointer dereference when parsing invalid atoms in ExprResolveLhs resulting in a crash
Published Aug 25, 2018
5.5
MEDIUMCVSS 3.0
EPSS 0.54%
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.
Affected products
No data.
Configuration 1
- ≤ 0.8.1
- ≤ 0.8.1
Configuration 2
- 14.04
- 16.04
- 18.04
No data.
Red Hat Enterprise Linux 7
gdm-1:3.28.2-16.el7
Fixed · RHSA-2019:2079
Red Hat Enterprise Linux 7
libX11-0:1.6.7-2.el7
Fixed · RHSA-2019:2079
Red Hat Enterprise Linux 7
libxkbcommon-0:0.7.1-3.el7
Fixed · RHSA-2019:2079
Red Hat Enterprise Linux 7
mesa-libGLw-0:8.0.0-5.el7
Fixed · RHSA-2019:2079
Red Hat Enterprise Linux 7
xorg-x11-drv-ati-0:19.0.1-2.el7
Fixed · RHSA-2019:2079
Red Hat Enterprise Linux 7
xorg-x11-drv-vesa-0:2.4.0-3.el7
Fixed · RHSA-2019:2079
Red Hat Enterprise Linux 7
xorg-x11-drv-wacom-0:0.36.1-3.el7
Fixed · RHSA-2019:2079
Red Hat Enterprise Linux 7
xorg-x11-server-0:1.20.4-7.el7
Fixed · RHSA-2019:2079
Red Hat Enterprise Linux 10
xkbcomp
Fix deferred
Red Hat Enterprise Linux 8
libxkbcommon
Not affected
Red Hat Enterprise Linux 9
xkbcomp
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | gdm-1:3.28.2-16.el7 | Fixed | RHSA-2019:2079 |
| Red Hat Enterprise Linux 7 | libX11-0:1.6.7-2.el7 | Fixed | RHSA-2019:2079 |
| Red Hat Enterprise Linux 7 | libxkbcommon-0:0.7.1-3.el7 | Fixed | RHSA-2019:2079 |
| Red Hat Enterprise Linux 7 | mesa-libGLw-0:8.0.0-5.el7 | Fixed | RHSA-2019:2079 |
| Red Hat Enterprise Linux 7 | xorg-x11-drv-ati-0:19.0.1-2.el7 | Fixed | RHSA-2019:2079 |
| Red Hat Enterprise Linux 7 | xorg-x11-drv-vesa-0:2.4.0-3.el7 | Fixed | RHSA-2019:2079 |
| Red Hat Enterprise Linux 7 | xorg-x11-drv-wacom-0:0.36.1-3.el7 | Fixed | RHSA-2019:2079 |
| Red Hat Enterprise Linux 7 | xorg-x11-server-0:1.20.4-7.el7 | Fixed | RHSA-2019:2079 |
| Red Hat Enterprise Linux 10 | xkbcomp | Fix deferred | n/a |
| Red Hat Enterprise Linux 8 | libxkbcommon | Not affected | n/a |
| Red Hat Enterprise Linux 9 | xkbcomp | Fix deferred | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
AV:L/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.54% (0.00539) | 43.30th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.54% (0.00539) | 44.29th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.04% (0.00045) | 16.14th | v3 (v2023.03.01) |
| May 1, 2024 | 0.04% (0.00045) | 14.40th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00045) | 12.36th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.78% (0.00777) | 21.08th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.78% (0.00777) | 0.00th | v1 |
References (10)
- https://access.redhat.com/errata/RHSA-2019:2079 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2018-15859 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1623026 Issue Tracking
- https://github.com/xkbcommon/libxkbcommon/commit/bb4909d2d8fa6b08155e449986a478101e2b2634 x_refsource_MISCPatchThird Party Advisory
- https://lists.freedesktop.org/archives/wayland-devel/2018-August/039243.html x_refsource_MISCMailing ListPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-15859
- https://security.gentoo.org/glsa/201810-05 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://usn.ubuntu.com/3786-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://usn.ubuntu.com/3786-2/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-15859
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2019:2079 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2018-15859 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1623026 | Issue Tracking | |
| https://github.com/xkbcommon/libxkbcommon/commit/bb4909d2d8fa6b08155e449986a478101e2b2634 | x_refsource_MISCPatchThird Party Advisory | |
| https://lists.freedesktop.org/archives/wayland-devel/2018-August/039243.html | x_refsource_MISCMailing ListPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-15859 | ||
| https://security.gentoo.org/glsa/201810-05 | vendor-advisoryx_refsource_GENTOOThird Party Advisory | |
| https://usn.ubuntu.com/3786-1/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://usn.ubuntu.com/3786-2/ | vendor-advisoryx_refsource_UBUNTUThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-15859 |
Change history (0)
No recorded changes yet.