
CVE catalog
CVE-2018-20340
libu2f-host: CVE-2018-20340
- Severity
- Medium · CVSS 6.4
CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.50% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libu2f-host | sid | 1.1.10-5 | fixed |
| Debian | libu2f-host | forky | 1.1.10-5 | fixed |
| Debian | libu2f-host | trixie | 1.1.10-3.2 | fixed |
| Debian | libu2f-host | bookworm | 1.1.10-3 | fixed |
| Ubuntu | libu2f-host | 16.04 | 0.0.4-1 | vulnerable |
| Ubuntu | libu2f-host | 16.04 | 1.0.0-1 | vulnerable |
| Ubuntu | libu2f-host | 18.04 | 1.1.3-1 | vulnerable |
| Ubuntu | libu2f-host | 18.04 | 1.1.4-1 | vulnerable |
| Ubuntu | libu2f-host | 18.04 | 1.1.4-1ubuntu0.1 | fixed |
| Opensuse | libu2f-host | leap 15.3 | 1.1.10-3.9.1 | fixed |
| Suse | libu2f-host | linux enterprise desktop 12 sp4 | 1.1.6-3.5.1 | fixed |
| Suse | pam_u2f | linux enterprise desktop 12 sp4 | 1.0.8-3.3.1 | fixed |
| Suse | libu2f-host | linux enterprise server 12 sp4 | 1.1.6-3.5.1 | fixed |
| Suse | pam_u2f | linux enterprise server 12 sp4 | 1.0.8-3.3.1 | fixed |
| Suse | libu2f-host | linux enterprise server for sap applications 12 sp4 | 1.1.6-3.5.1 | fixed |
| Suse | pam_u2f | linux enterprise server for sap applications 12 sp4 | 1.0.8-3.3.1 | fixed |
| Opensuse | libu2f-host | leap 15.2 | 1.1.10-lp152.4.3.1 | fixed |
| Suse | libu2f-host | linux enterprise module for basesystem 15 sp2 | 1.1.10-3.9.1 | fixed |
| Suse | libu2f-host | linux enterprise module for basesystem 15 sp3 | 1.1.10-3.9.1 | fixed |
| Opensuse | libu2f-host | leap 15.0 | 1.1.6-lp151.2.3.1 | fixed |
| Opensuse | libu2f-host | leap 15.1 | 1.1.6-lp151.2.3.1 | fixed |
| Suse | libu2f-host | linux enterprise module for basesystem 15 | 1.1.6-3.3.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libu2f-host | source | sid | 1.1.7-1 | not yet assigned | Not reported | [921726] |
| Debian | libu2f-host | source | forky | 1.1.7-1 | not yet assigned | Not reported | [921726] |
| Debian | libu2f-host | source | trixie | 1.1.7-1 | not yet assigned | Not reported | [921726] |
| Debian | libu2f-host | source | bookworm | 1.1.7-1 | not yet assigned | Not reported | [921726] |
| Ubuntu | libu2f-host | deb | 18.04 | 1.1.4-1ubuntu0.1 | Not reported | UBUNTU-CVE-2018-20340 | Not reported |
| Opensuse | libu2f-host | rpm | leap 15.3 | 1.1.10-3.9.1 | Not reported | OPENSUSE-SU-2021:1755-1 | Not reported |
| Suse | libu2f-host | rpm | linux enterprise desktop 12 sp4 | 1.1.6-3.5.1 | Not reported | SUSE-SU-2019:1749-1 | Not reported |
| Suse | pam_u2f | rpm | linux enterprise desktop 12 sp4 | 1.0.8-3.3.1 | Not reported | SUSE-SU-2019:1749-1 | Not reported |
| Suse | libu2f-host | rpm | linux enterprise server 12 sp4 | 1.1.6-3.5.1 | Not reported | SUSE-SU-2019:1749-1 | Not reported |
| Suse | pam_u2f | rpm | linux enterprise server 12 sp4 | 1.0.8-3.3.1 | Not reported | SUSE-SU-2019:1749-1 | Not reported |
| Suse | libu2f-host | rpm | linux enterprise server for sap applications 12 sp4 | 1.1.6-3.5.1 | Not reported | SUSE-SU-2019:1749-1 | Not reported |
| Suse | pam_u2f | rpm | linux enterprise server for sap applications 12 sp4 | 1.0.8-3.3.1 | Not reported | SUSE-SU-2019:1749-1 | Not reported |
| Opensuse | libu2f-host | rpm | leap 15.2 | 1.1.10-lp152.4.3.1 | Not reported | OPENSUSE-SU-2021:0799-1 | Not reported |
| Suse | libu2f-host | rpm | linux enterprise module for basesystem 15 sp2 | 1.1.10-3.9.1 | Not reported | SUSE-SU-2021:1755-1 | Not reported |
| Suse | libu2f-host | rpm | linux enterprise module for basesystem 15 sp3 | 1.1.10-3.9.1 | Not reported | SUSE-SU-2021:1755-1 | Not reported |
| Opensuse | libu2f-host | rpm | leap 15.0 | 1.1.6-lp151.2.3.1 | Not reported | OPENSUSE-SU-2019:1475-1 | Not reported |
| Opensuse | libu2f-host | rpm | leap 15.1 | 1.1.6-lp151.2.3.1 | Not reported | OPENSUSE-SU-2019:1475-1 | Not reported |
| Suse | libu2f-host | rpm | linux enterprise module for basesystem 15 | 1.1.6-3.3.3 | Not reported | SUSE-SU-2019:1340-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libu2f-host0]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
1.1.10-3· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
- [libu2f-host-dev]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
1.1.10-3· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
- [libu2f-host-doc]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3· all · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
1.1.10-3· all · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
- [libu2f-udev]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3· all · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
1.1.10-3· all · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
- [u2f-host]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3· amd64 · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
1.1.10-3· arm64 · bookwormFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12
[Debian 13 (Trixie)]
- [libu2f-host0]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3.2+b1· amd64 · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
1.1.10-3.2+b1· arm64 · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
- [libu2f-host-dev]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3.2+b1· amd64 · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
1.1.10-3.2+b1· arm64 · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
- [libu2f-host-doc]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3.2· all · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
1.1.10-3.2· all · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
- [libu2f-udev]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3.2· all · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
1.1.10-3.2· all · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
- [u2f-host]Fixed
Source package: [libu2f-host]
Details (2)
1.1.10-3.2+b1· amd64 · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
1.1.10-3.2+b1· arm64 · trixieFixed · Fixed:
1.1.7-1dsa · libu2f-host · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2019_1340-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-20340]
- [https://osv.dev/vulnerability/DSA-4389-1]
- [https://osv.dev/vulnerability/SUSE-SU-2019:1340-1]
- [https://osv.dev/vulnerability/SUSE-SU-2019:1749-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:1755-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-20340]
- [https://osv.dev/vulnerability/openSUSE-SU-2019:1475-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:0799-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:1755-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-20340]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]