cve.bz

CVE-2018-15857 Use After Free

7.8 highEPSS 0.4%Fix available

High (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-15857 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-15857?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-15857?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-15857 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xkbcommon:libxkbcommonbefore 0.8.1
xkbcommon:xkbcommonbefore 0.8.1
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libxkbcommon0.8.2-1DEBIAN-CVE-2018-15857
Ubuntu14.04:LTSlibxkbcommon0.4.1-0ubuntu1.1UBUNTU-CVE-2018-15857 USN-3786-1
Ubuntu16.04:LTSlibxkbcommon0.5.0-1ubuntu2.1UBUNTU-CVE-2018-15857 USN-3786-1
Ubuntu18.04:LTSlibxkbcommon0.8.0-1ubuntu0.1UBUNTU-CVE-2018-15857 USN-3786-2
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moregdm, gdm-devel, gdm-debuginfo and 1 more1:3.28.2-16.el7RHSA-2019:2079
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibX11, libX11-devel, libX11-common and 1 more0:1.6.7-2.el7RHSA-2019:2079
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morelibxkbcommon, libxkbcommon-x11, libxkbcommon-devel and 2 more0:0.7.1-3.el7RHSA-2019:2079
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morexorg-x11-drv-wacom, xorg-x11-drv-wacom-devel, xorg-x11-drv-wacom-debuginfo0:0.36.1-3.el7RHSA-2019:2079
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morexorg-x11-server, xorg-x11-server-Xdmx, xorg-x11-server-Xorg and 8 more0:1.20.4-7.el7RHSA-2019:2079
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationxorg-x11-drv-ati, xorg-x11-drv-ati-debuginfo0:19.0.1-2.el7RHSA-2019:2079
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationxorg-x11-drv-vesa, xorg-x11-drv-vesa-debuginfo0:2.4.0-3.el7RHSA-2019:2079
Red Hatenterprise_linux:7::server, enterprise_linux:7::workstationmesa-libGLw, mesa-libGLw-devel, mesa-libGLw-debuginfo0:8.0.0-5.el7RHSA-2019:2079
SUSELinux Enterprise Module for Basesystem 15libxkbcommon0.8.2-3.3.1SUSE-SU-2018:3685-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libxkbcommon0.6.1-9.3.1SUSE-SU-2024:0037-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7gdm-1:3.28.2-16.el7Fixed 2019-08-06RHSA-2019:2079
Red Hat Enterprise Linux 7libX11-0:1.6.7-2.el7Fixed 2019-08-06RHSA-2019:2079
Red Hat Enterprise Linux 7libxkbcommon-0:0.7.1-3.el7Fixed 2019-08-06RHSA-2019:2079
Red Hat Enterprise Linux 7mesa-libGLw-0:8.0.0-5.el7Fixed 2019-08-06RHSA-2019:2079
Red Hat Enterprise Linux 7xorg-x11-drv-ati-0:19.0.1-2.el7Fixed 2019-08-06RHSA-2019:2079
Red Hat Enterprise Linux 7xorg-x11-drv-vesa-0:2.4.0-3.el7Fixed 2019-08-06RHSA-2019:2079
Red Hat Enterprise Linux 7xorg-x11-drv-wacom-0:0.36.1-3.el7Fixed 2019-08-06RHSA-2019:2079
Red Hat Enterprise Linux 7xorg-x11-server-0:1.20.4-7.el7Fixed 2019-08-06RHSA-2019:2079
Red Hat Enterprise Linux 8libxkbcommonNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-15857.

References

Check your stackJSON