CVE-2018-20340: Buffer Overflow

Published Feb 8, 2019
·
Updated

Yubico libu2f-host 1.1.6 contains unchecked buffers in devs.c, which could enable a malicious token to exploit a buffer overflow. An attacker could use this to attempt to execute malicious code using a crafted USB device masquerading as a security token on a computer where the affected library is currently in use. It is not possible to perform this attack with a genuine YubiKey.

Affected Software

4 affected componentsFixes available
debian/libu2f-host
1.1.9-11.1.10-3
debian/libu2f-host<=1.1.6-1, <=1.1.2-2
1.1.7-11.1.2-2+deb9u1
Yubico libu2f-host=1.1.6
Debian Debian Linux=9.0

Event History

Mar 17, 2019
CVE Published
via MITRE·08:06 PM
Data Sourced
via MITRE·08:06 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-20340?

CVE-2018-20340 is a vulnerability in Yubico libu2f-host 1.1.6 that allows a malicious token to exploit a buffer overflow.

2

What is the severity of CVE-2018-20340?

The severity of CVE-2018-20340 is medium with a CVSS score of 6.8.

3

How does CVE-2018-20340 work?

CVE-2018-20340 works by using unchecked buffers in devs.c to enable a malicious token to execute malicious code through a crafted USB device.

4

Which software versions are affected by CVE-2018-20340?

Yubico libu2f-host 1.1.6 and Debian Linux 9.0 are affected by CVE-2018-20340.

5

How can I fix CVE-2018-20340?

To fix CVE-2018-20340, you should update the libu2f-host package to version 1.1.9-1 or 1.1.10-3 for Debian Linux.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203