CVE-2018-15857

An invalid free in ExprAppendMultiKeysymList in xkbcomp/ast-build.c in xkbcommon before 0.8.1 could be used by local attackers to crash xkbcommon keymap parsers or possibly have unspecified other impact by supplying a crafted keymap file.

Published: 2018-08-25 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2018-15857 is rated Low Risk (38.6/100): CVSS High severity, with low exploitation likelihood (EPSS 0.08%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2018-15857

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-03-30 0.27% 0.08% -0.18%
2 2025-03-29 0.08% 0.27% +0.18%
3 2025-03-17 0.08%

Full EPSS history (6 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2018-15857

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.0 HIGH
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]
4.6 2.0 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:L)
Requires local access to the target system.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
3.9 6.4 [email protected]

Weakness enumeration for CVE-2018-15857

OS Trackers for CVE-2018-15857

vendor priority summary link
debian low CVE-2018-15857 low priority: Debian including 1 source packages (libxkbcommon), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2018-15857
gentoo normal CVE-2018-15857: 1 GLSA(s) (201810-05), 1 atom(s) (x11-libs/libxkbcommon); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2018-15857
redhat medium https://access.redhat.com/security/cve/CVE-2018-15857
suse low CVE-2018-15857 severity low: SUSE including 327 source package names (0.38.1.5.8.45:libxkbcommon0-0.8.2-3.3.1, 0.38.1:libxkbcommon0-0.8.2-3.3.1, …), 426 product×package rows across 52 product lines (Container suse/sles/15.2/virt-handler, Container suse/sles/15.2/virt-launcher, … (52 product lines)): Known Affected 231, Fixed 170, Known Not Affected 25. https://www.suse.com/security/cve/CVE-2018-15857/
ubuntu medium CVE-2018-15857 medium priority: Ubuntu including 1 source packages (libxkbcommon), 5 status rows across 5 suites (bionic, cosmic, trusty, upstream, xenial): released 4, not-affected 1. https://ubuntu.com/security/CVE-2018-15857

Affected software / configurations for CVE-2018-15857

Vendor Product Version Raw CPE
xkbcommon libxkbcommon < 0.8.1 cpe:2.3:a:xkbcommon:libxkbcommon:*:*:*:*:*:*:*:*
xkbcommon xkbcommon < 0.8.1 cpe:2.3:a:xkbcommon:xkbcommon:*:*:*:*:*:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

References for CVE-2018-15857

cvelogic Threat Intelligence