CVE catalog

CVE-2020-13132

yubico-piv-tool: CVE-2020-13132

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.64% · Oct 25, 2026

An issue was discovered in Yubico libykpiv before 2.1.0. An attacker can trigger an incorrect free() in the ykpiv_util_generate_key() function in lib/util.c through incorrect error handling code. This could be used to cause a denial of service attack.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianyubico-piv-toolsid2.7.3-2fixed
Debianyubico-piv-toolforky2.7.3-2fixed
Debianyubico-piv-tooltrixie2.7.1-1fixed
Debianyubico-piv-toolbookworm2.2.0-1.1fixed
Ubuntuyubico-piv-toolpro1.0.1-1vulnerable
Ubuntuyubico-piv-toolpro1.0.3-1vulnerable
Ubuntuyubico-piv-toolpro1.0.3-1ubuntu0.1~esm1vulnerable
Ubuntuyubico-piv-tool18.041.4.2-2vulnerable
Ubuntuyubico-piv-tool18.041.4.2-2ubuntu0.1vulnerable
Ubuntuyubico-piv-tool20.041.7.0-1vulnerable
Ubuntuyubico-piv-tool20.042.0.0-1vulnerable
Ubuntuyubico-piv-tool20.042.0.0-2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianyubico-piv-toolsourcesid2.1.1-1not yet assignedNot reported[972644]
Debianyubico-piv-toolsourceforky2.1.1-1not yet assignedNot reported[972644]
Debianyubico-piv-toolsourcetrixie2.1.1-1not yet assignedNot reported[972644]
Debianyubico-piv-toolsourcebookworm2.1.1-1not yet assignedNot reported[972644]

[Debian bug #972644]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libykpiv2]Fixed

    Source package: [yubico-piv-tool]

    Details (2)
    • 2.2.0-1.1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12

    • 2.2.0-1.1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12

  • Source package: [yubico-piv-tool]

    Details (2)
    • 2.2.0-1.1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12

    • 2.2.0-1.1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12

  • [ykcs11]Fixed

    Source package: [yubico-piv-tool]

    Details (2)
    • 2.2.0-1.1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12

    • 2.2.0-1.1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12

  • Details (2)
    • 2.2.0-1.1 · amd64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12

    • 2.2.0-1.1 · arm64 · bookworm

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12

[Debian 13 (Trixie)]

  • [libykpiv2]Fixed

    Source package: [yubico-piv-tool]

    Details (2)
    • 2.7.1-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · 13

    • 2.7.1-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · 13

  • Source package: [yubico-piv-tool]

    Details (2)
    • 2.7.1-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · 13

    • 2.7.1-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · 13

  • [ykcs11]Fixed

    Source package: [yubico-piv-tool]

    Details (2)
    • 2.7.1-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · 13

    • 2.7.1-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · 13

  • Details (2)
    • 2.7.1-1 · amd64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · 13

    • 2.7.1-1 · arm64 · trixie

      Fixed · Fixed: 2.1.1-1

      dsa · yubico-piv-tool · debian · 13

Observed:

References