{"id":"CVE-2018-14779","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-14779","generatedAt":"2026-10-29T00:35:02.587Z","title":"A buffer overflow issue was discovered in the Yubico-Piv 1.5.0 smartcard driver.","description":"A buffer overflow 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_transfer_data()`: {% highlight c %} if(*out_len + recv_len - 2 > max_out) { fprintf(stderr, \"Output buffer to small, wanted to write %lu, max was %lu.\", *out_len + recv_len - 2, max_out); } if(out_data) { memcpy(out_data, data, recv_len - 2); out_data += recv_len - 2; *out_len += recv_len - 2; } {% endhighlight %} -- it is clearly checked whether the buffer is big enough to hold the data copied using `memcpy()`, but no error handling happens to avoid the `memcpy()` in such cases. This code path can be triggered with malicious data coming from a smartcard.","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":6.8,"severity":"MEDIUM","vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-119","CWE-787"],"affected":["yubico/piv manager","yubico/piv tool","yubico/smart card minidriver"],"epss":{"score":0.00491,"percentile":0.41971,"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.49%). 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-14779","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."}