CVE-2020-13132
An issue was discovered in Yubico libykpiv before 2.1.0. An attacker can trigger an incorrect...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Physical
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
4.3
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.
- Record
CVE-2020-13132- CVSS 3.0
- 4.3 Medium
CVSS:3.0/AC:L/AV:P/A:H/C:N/I:N/PR:N/S:U/UI:R - Updated
- 2026-11-02
EUVDEUVD-2020-5408
4.3
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.
- Record
EUVD-2020-5408- CVSS 3.0
- 4.3 Medium
CVSS:3.0/AC:L/AV:P/A:H/C:N/I:N/PR:N/S:U/UI:R - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mg7w-vxv4-393q No score
An issue was discovered in Yubico libykpiv before 2.1.0. An attacker can trigger an incorrect...
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.
- Record
GHSA-mg7w-vxv4-393q- Weakness
- CWE-327
- Updated
- 2026-11-02
NVD
4.6
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.
- Record
CVE-2020-13132- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 4.3 Medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 2.1 Low
AV:L/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-763
- Updated
- 2026-11-02
OSV
4.6
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.
- Record
CVE-2020-13132- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-13132
4.6
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.
- Record
DEBIAN-CVE-2020-13132- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-13132
4.6
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.
- Record
UBUNTU-CVE-2020-13132- CVSS 3.1
- 4.6 Medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 4.3 Medium
CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
yubico-piv-toolDebian:12 |
before 2.1.1-1 | 2.1.1-1 |
yubico-piv-toolDebian:13 |
before 2.1.1-1 | 2.1.1-1 |
yubico-piv-toolDebian:14 |
before 2.1.1-1 | 2.1.1-1 |
yubico-piv-toolUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.0.1-11.0.3-11.0.3-1ubuntu0.1~esm1 |
None known |
yubico-piv-toolUbuntu:18.04:LTS |
All versions, plus listed versions 1.4.2-21.4.2-2ubuntu0.1 |
None known |
yubico-piv-toolUbuntu:20.04:LTS |
All versions, plus listed versions 1.7.0-12.0.0-12.0.0-2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-13132 is a medium vulnerability (CVSS 4.3) in Yubico Libykpiv, published July 9, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.64%, the 50th percentile. Fixed in yubico-piv-tool 2.1.1-1.