libxkbcommon: NULL pointer dereference when handling invalid aliases in CopyKeyAliasesToKeymap resulting in a crash
Published Aug 25, 2018
5.5
MEDIUMCVSS 3.0
EPSS 0.43%
Description
Unchecked NULL pointer usage when handling invalid aliases in CopyKeyAliasesToKeymap in xkbcomp/keycodes.c in xkbcommon before 0.8.1 could be used by local attackers to crash (NULL pointer dereference) the xkbcommon parser by supplying a crafted keymap file.
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
libxkbcommon
Not affected
Red Hat Enterprise Linux 8
libxkbcommon
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | libxkbcommon | Not affected | n/a |
| Red Hat Enterprise Linux 8 | libxkbcommon | Not affected | 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 2, 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 (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.43% (0.00431) | 35.07th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.43% (0.00431) | 36.89th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.04% (0.00042) | 5.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00950) | 32.28th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00950) | 13.46th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.67% (0.00666) | 18.77th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.67% (0.00666) | 0.00th | v1 |
References (9)
- https://access.redhat.com/security/cve/CVE-2018-15858 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1623024 Issue Tracking
- https://github.com/xkbcommon/libxkbcommon/commit/badb428e63387140720f22486b3acbd3d738859f x_refsource_MISCPatchThird Party Advisory
- https://lists.freedesktop.org/archives/wayland-devel/2018-August/039232.html x_refsource_MISCMailing ListPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-15858
- 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-15858
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-15858 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1623024 | Issue Tracking | |
| https://github.com/xkbcommon/libxkbcommon/commit/badb428e63387140720f22486b3acbd3d738859f | x_refsource_MISCPatchThird Party Advisory | |
| https://lists.freedesktop.org/archives/wayland-devel/2018-August/039232.html | x_refsource_MISCMailing ListPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-15858 | ||
| 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-15858 |
Change history (0)
No recorded changes yet.