7.8
CWE
416
Advisory Published
Updated

CVE-2018-15857: Use After Free

First published: Sat Aug 25 2018(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/libxkbcommon<0.8.1
0.8.1
debian/libxkbcommon
1.0.3-2
1.5.0-1
1.6.0-1
libxkbcommon-dev<0.8.1
dbus-common<0.8.1
Ubuntu Linux=14.04
Ubuntu Linux=16.04
Ubuntu Linux=18.04
Ubuntu Libxkbcommon0<0.8.1
Ubuntu=14.04
Ubuntu=16.04
Ubuntu=18.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2018-15857?

    CVE-2018-15857 is considered of medium severity as it can be exploited to crash xkbcommon keymap parsers.

  • How do I fix CVE-2018-15857?

    To fix CVE-2018-15857, upgrade libxkbcommon to version 0.8.1 or later for affected Red Hat systems, or to versions 1.0.3-2, 1.5.0-1, or 1.6.0-1 for Debian systems.

  • Who is affected by CVE-2018-15857?

    CVE-2018-15857 affects local users running systems with versions of libxkbcommon prior to 0.8.1.

  • What type of vulnerability is CVE-2018-15857?

    CVE-2018-15857 is a memory management vulnerability due to an invalid free operation in the libxkbcommon library.

  • Can CVE-2018-15857 lead to remote attacks?

    CVE-2018-15857 is primarily a local vulnerability and does not directly allow for remote attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203