CVE-2020-13131: Medium severity yubico libykpiv vulnerability

Published Jul 9, 2020
·
Updated

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.

Affected Software

3 affected components
Yubico libykpiv<2.1.0
Yubico Piv Tool Manager<2.0.0
Yubico Yubikey Smart Card Minidriver<=4.1.0.172

Event History

Jul 9, 2020
CVE Published
via MITRE·05:50 PM
Data Sourced
via MITRE·05:50 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-13131?

CVE-2020-13131 is a vulnerability in Yubico libykpiv before version 2.1.0 that allows a malicious PIV token to misreport the returned length fields during RSA key generation.

2

What is the severity of CVE-2020-13131?

CVE-2020-13131 has a severity score of 4.3, which is considered medium.

3

Which software is affected by CVE-2020-13131?

Yubico libykpiv before version 2.1.0, Yubico Piv Tool Manager before version 2.0.0, and Yubico Yubikey Smart Card Minidriver before version 4.1.0.172 are affected.

4

How can a malicious PIV token exploit CVE-2020-13131?

A malicious PIV token can exploit CVE-2020-13131 by misreporting the returned length fields during RSA key generation.

5

Are there any references for CVE-2020-13131?

Yes, you can find more information about CVE-2020-13131 at the following links: [Link 1](https://blog.inhq.net/posts/yubico-libykpiv-vuln/) and [Link 2](https://www.yubico.com/products/services-software/download/smart-card-drivers-tools/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203