CVE-2018-14780

Summary

CVECVE-2018-14780
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-08-15 18:29:00 UTC
Updated2020-02-25 04:15:00 UTC
DescriptionAn out-of-bounds read issue was discovered in the Yubico-Piv 1.5.0 smartcard driver. The file lib/ykpiv.c contains the following code in the function `_ykpiv_fetch_object()`: {% highlight c %} if(sw == SW_SUCCESS) { size_t outlen; int offs = _ykpiv_get_length(data + 1, &outlen); if(offs == 0) { return YKPIV_SIZE_ERROR; } memmove(data, data + 1 + offs, outlen); *len = outlen; return YKPIV_OK; } else { return YKPIV_GENERIC_ERROR; } {% endhighlight %} -- in the end, a `memmove()` occurs with a length retrieved from APDU data. This length is not checked for whether it is outside of the APDU data retrieved. Therefore the `memmove()` could copy bytes behind the allocated data buffer into this buffer.

Risk And Classification

Problem Types: CWE-125

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Yubico Piv Manager All All All All
Application Yubico Piv Manager 1.4.2 All All All
Application Yubico Piv Manager 1.4.2b All All All
Application Yubico Piv Manager 1.4.2c All All All
Application Yubico Piv Manager 1.4.2d All All All
Application Yubico Piv Manager 1.4.2e All All All
Application Yubico Piv Manager 1.4.2f All All All
Application Yubico Piv Manager 1.4.2g All All All
Application Yubico Piv Manager All All All All
Application Yubico Piv Manager 1.4.2b All All All
Application Yubico Piv Manager 1.4.2c All All All
Application Yubico Piv Manager 1.4.2d All All All
Application Yubico Piv Manager 1.4.2e All All All
Application Yubico Piv Manager 1.4.2f All All All
Application Yubico Piv Manager 1.4.2g All All All
Application Yubico Piv Tool All All All All
Application Yubico Piv Tool All All All All
Application Yubico Smart Card Minidriver All All All All

References

ReferenceSourceLinkTags
Security advisory YSA-2018-03 - Yubico CONFIRM www.yubico.com Vendor Advisory
USN-4276-1: Yubico PIV Tool vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com
oss-security - X41 D-Sec GmbH Security Advisory X41-2018-001: Multiple Vulnerabilities in Yubico Piv MLIST www.openwall.com Mailing List, Third Party Advisory
Advisory X41-2018-001: Multiple Vulnerabilities in Yubico-Piv | X41 D-SEC GmbH MISC www.x41-dsec.de Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report