{"id":"CVE-2018-14780","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-14780","generatedAt":"2026-10-28T21:18:17.407Z","title":"An out-of-bounds read issue was discovered in the Yubico-Piv 1.5.0 smartcard driver.","description":"An 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.","published":"2018-08-15T18:29:01.000Z","lastModified":"2026-06-17T01:41:37.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":4.6,"severity":"MEDIUM","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"cwe":["CWE-125"],"affected":["yubico/piv manager","yubico/piv tool","yubico/smart card minidriver"],"epss":{"score":0.00449,"percentile":0.38855,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.45%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2018/08/14/2","tags":["Mailing List","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/4276-1/","source":"cve@mitre.org"},{"url":"https://www.x41-dsec.de/lab/advisories/x41-2018-001-Yubico-Piv/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.yubico.com/support/security-advisories/ysa-2018-03/","tags":["Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2018/08/14/2","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/4276-1/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.x41-dsec.de/lab/advisories/x41-2018-001-Yubico-Piv/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.yubico.com/support/security-advisories/ysa-2018-03/","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-14780","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}