CVE-2020-13131 Details
Description
An issue was discovered in Yubico libykpiv before 2.1.0. lib/util.c in this library (which is included in yubico-piv-tool) does not properly check embedded length fields during device communication. A malicious PIV token can misreport the returned length fields during RSA key generation. This will cause stack memory to be copied into heap allocated memory that gets returned to the caller. The leaked memory could include PINs, passwords, key material, and other sensitive information depending on the integration. During further processing by the caller, this information could leak across trust boundaries. Note that RSA key generation is triggered by the host and cannot directly be triggered by the token.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.inhq.net/posts/yubico-libykpiv-vuln/ | CVE | ExploitThird Party Advisory |
| https://www.yubico.com/products/services-software/download/smart-card-drivers-tools/ | CVE | Vendor Advisory |
| https://blog.inhq.net/posts/yubico-libykpiv-vuln/ | [email protected] | ExploitThird Party Advisory |
| https://www.yubico.com/products/services-software/download/smart-card-drivers-tools/ | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| yubico libykpiv | < 2.1.0 |
CPE
Remediation
| |
| yubico piv tool manager | < 2.0.0 |
CPE
Remediation
| |
| yubico yubikey smart card minidriver | <= 4.1.0.172 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 16, 2020 | Initial Analysis | [email protected] |