CWE
835
Advisory Published
Updated

CVE-2018-15856

First published: Sat Aug 25 2018(Updated: )

An infinite loop when reaching EOL unexpectedly in compose/parser.c (aka the keymap parser) in xkbcommon before 0.8.1 could be used by local attackers to cause a denial of service during parsing of crafted keymap files.

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
dbus-common<0.8.1
Ubuntu Linux=14.04
Ubuntu Linux=16.04
Ubuntu Linux=18.04
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-15856?

    CVE-2018-15856 is classified as a denial of service vulnerability due to an infinite loop in the xkbcommon keymap parser.

  • How do I fix CVE-2018-15856?

    To fix CVE-2018-15856, update the libxkbcommon package to version 0.8.1 or higher.

  • Which systems are affected by CVE-2018-15856?

    CVE-2018-15856 affects libxkbcommon versions below 0.8.1 on various Linux distributions including Red Hat and Debian.

  • How can CVE-2018-15856 be exploited?

    CVE-2018-15856 can be exploited by local attackers through the use of crafted keymap files that trigger an infinite loop.

  • What should I do if I cannot update my system to fix CVE-2018-15856?

    If you cannot update, consider implementing security controls to limit file access to keymap files from untrusted users.

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