CVE catalog

CVE-2018-20340

libu2f-host: CVE-2018-20340

[CVE catalog]

Severity
Medium · CVSS 6.4CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibu2f-hostsid1.1.10-5fixed
Debianlibu2f-hostforky1.1.10-5fixed
Debianlibu2f-hosttrixie1.1.10-3.2fixed
Debianlibu2f-hostbookworm1.1.10-3fixed
Ubuntulibu2f-host16.040.0.4-1vulnerable
Ubuntulibu2f-host16.041.0.0-1vulnerable
Ubuntulibu2f-host18.041.1.3-1vulnerable
Ubuntulibu2f-host18.041.1.4-1vulnerable
Ubuntulibu2f-host18.041.1.4-1ubuntu0.1fixed
Opensuselibu2f-hostleap 15.31.1.10-3.9.1fixed
Suselibu2f-hostlinux enterprise desktop 12 sp41.1.6-3.5.1fixed
Susepam_u2flinux enterprise desktop 12 sp41.0.8-3.3.1fixed
Suselibu2f-hostlinux enterprise server 12 sp41.1.6-3.5.1fixed
Susepam_u2flinux enterprise server 12 sp41.0.8-3.3.1fixed
Suselibu2f-hostlinux enterprise server for sap applications 12 sp41.1.6-3.5.1fixed
Susepam_u2flinux enterprise server for sap applications 12 sp41.0.8-3.3.1fixed
Opensuselibu2f-hostleap 15.21.1.10-lp152.4.3.1fixed
Suselibu2f-hostlinux enterprise module for basesystem 15 sp21.1.10-3.9.1fixed
Suselibu2f-hostlinux enterprise module for basesystem 15 sp31.1.10-3.9.1fixed
Opensuselibu2f-hostleap 15.01.1.6-lp151.2.3.1fixed
Opensuselibu2f-hostleap 15.11.1.6-lp151.2.3.1fixed
Suselibu2f-hostlinux enterprise module for basesystem 151.1.6-3.3.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibu2f-hostsourcesid1.1.7-1not yet assignedNot reported[921726]
Debianlibu2f-hostsourceforky1.1.7-1not yet assignedNot reported[921726]
Debianlibu2f-hostsourcetrixie1.1.7-1not yet assignedNot reported[921726]
Debianlibu2f-hostsourcebookworm1.1.7-1not yet assignedNot reported[921726]
Ubuntulibu2f-hostdeb18.041.1.4-1ubuntu0.1Not reportedUBUNTU-CVE-2018-20340Not reported
Opensuselibu2f-hostrpmleap 15.31.1.10-3.9.1Not reportedOPENSUSE-SU-2021:1755-1Not reported
Suselibu2f-hostrpmlinux enterprise desktop 12 sp41.1.6-3.5.1Not reportedSUSE-SU-2019:1749-1Not reported
Susepam_u2frpmlinux enterprise desktop 12 sp41.0.8-3.3.1Not reportedSUSE-SU-2019:1749-1Not reported
Suselibu2f-hostrpmlinux enterprise server 12 sp41.1.6-3.5.1Not reportedSUSE-SU-2019:1749-1Not reported
Susepam_u2frpmlinux enterprise server 12 sp41.0.8-3.3.1Not reportedSUSE-SU-2019:1749-1Not reported
Suselibu2f-hostrpmlinux enterprise server for sap applications 12 sp41.1.6-3.5.1Not reportedSUSE-SU-2019:1749-1Not reported
Susepam_u2frpmlinux enterprise server for sap applications 12 sp41.0.8-3.3.1Not reportedSUSE-SU-2019:1749-1Not reported
Opensuselibu2f-hostrpmleap 15.21.1.10-lp152.4.3.1Not reportedOPENSUSE-SU-2021:0799-1Not reported
Suselibu2f-hostrpmlinux enterprise module for basesystem 15 sp21.1.10-3.9.1Not reportedSUSE-SU-2021:1755-1Not reported
Suselibu2f-hostrpmlinux enterprise module for basesystem 15 sp31.1.10-3.9.1Not reportedSUSE-SU-2021:1755-1Not reported
Opensuselibu2f-hostrpmleap 15.01.1.6-lp151.2.3.1Not reportedOPENSUSE-SU-2019:1475-1Not reported
Opensuselibu2f-hostrpmleap 15.11.1.6-lp151.2.3.1Not reportedOPENSUSE-SU-2019:1475-1Not reported
Suselibu2f-hostrpmlinux enterprise module for basesystem 151.1.6-3.3.3Not reportedSUSE-SU-2019:1340-1Not reported

[Debian bug #921726]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3 · amd64 · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

    • 1.1.10-3 · arm64 · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

  • Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3 · amd64 · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

    • 1.1.10-3 · arm64 · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

  • Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3 · all · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

    • 1.1.10-3 · all · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

  • Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3 · all · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

    • 1.1.10-3 · all · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

  • [u2f-host]Fixed

    Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3 · amd64 · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

    • 1.1.10-3 · arm64 · bookworm

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · bookworm; dsa · libu2f-host · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3.2+b1 · amd64 · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

    • 1.1.10-3.2+b1 · arm64 · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

  • Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3.2+b1 · amd64 · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

    • 1.1.10-3.2+b1 · arm64 · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

  • Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3.2 · all · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

    • 1.1.10-3.2 · all · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

  • Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3.2 · all · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

    • 1.1.10-3.2 · all · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

  • [u2f-host]Fixed

    Source package: [libu2f-host]

    Details (2)
    • 1.1.10-3.2+b1 · amd64 · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

    • 1.1.10-3.2+b1 · arm64 · trixie

      Fixed · Fixed: 1.1.7-1

      dsa · libu2f-host · debian · 13

Observed:

References