
CVE catalog
CVE-2018-14780
yubico-piv-tool: CVE-2018-14780
- Severity
- Low · CVSS 2.2
CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.45% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | yubico-piv-tool | sid | 2.7.3-2 | fixed |
| Debian | yubico-piv-tool | forky | 2.7.3-2 | fixed |
| Debian | yubico-piv-tool | trixie | 2.7.1-1 | fixed |
| Debian | yubico-piv-tool | bookworm | 2.2.0-1.1 | fixed |
| Ubuntu | yubico-piv-tool | pro | 1.0.1-1 | vulnerable |
| Ubuntu | yubico-piv-tool | pro | 1.0.3-1 | vulnerable |
| Ubuntu | yubico-piv-tool | pro | 1.0.3-1ubuntu0.1~esm1 | fixed |
| Ubuntu | yubico-piv-tool | 18.04 | 1.4.2-2 | vulnerable |
| Ubuntu | yubico-piv-tool | 18.04 | 1.4.2-2ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | yubico-piv-tool | source | sid | 1.6.1-1 | low | Not reported | [906128] |
| Debian | yubico-piv-tool | source | forky | 1.6.1-1 | low | Not reported | [906128] |
| Debian | yubico-piv-tool | source | trixie | 1.6.1-1 | low | Not reported | [906128] |
| Debian | yubico-piv-tool | source | bookworm | 1.6.1-1 | low | Not reported | [906128] |
| Ubuntu | yubico-piv-tool | deb | pro | 1.0.3-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2018-14780 | Not reported |
| Ubuntu | yubico-piv-tool | deb | 18.04 | 1.4.2-2ubuntu0.1 | Not reported | UBUNTU-CVE-2018-14780 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libykpiv2]Fixed
Source package: [yubico-piv-tool]
Details (2)
2.2.0-1.1· amd64 · bookwormFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12
2.2.0-1.1· arm64 · bookwormFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12
- [libykpiv-dev]Fixed
Source package: [yubico-piv-tool]
Details (2)
2.2.0-1.1· amd64 · bookwormFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12
2.2.0-1.1· arm64 · bookwormFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12
- [ykcs11]Fixed
Source package: [yubico-piv-tool]
Details (2)
2.2.0-1.1· amd64 · bookwormFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12
2.2.0-1.1· arm64 · bookwormFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12
- [yubico-piv-tool]Fixed
Details (2)
2.2.0-1.1· amd64 · bookwormFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12
2.2.0-1.1· arm64 · bookwormFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · bookworm; dsa · yubico-piv-tool · debian · 12
[Debian 13 (Trixie)]
- [libykpiv2]Fixed
Source package: [yubico-piv-tool]
Details (2)
2.7.1-1· amd64 · trixieFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · 13
2.7.1-1· arm64 · trixieFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · 13
- [libykpiv-dev]Fixed
Source package: [yubico-piv-tool]
Details (2)
2.7.1-1· amd64 · trixieFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · 13
2.7.1-1· arm64 · trixieFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · 13
- [ykcs11]Fixed
Source package: [yubico-piv-tool]
Details (2)
2.7.1-1· amd64 · trixieFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · 13
2.7.1-1· arm64 · trixieFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · 13
- [yubico-piv-tool]Fixed
Details (2)
2.7.1-1· amd64 · trixieFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · 13
2.7.1-1· arm64 · trixieFixed · Fixed:
1.6.1-1dsa · yubico-piv-tool · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2019_1123-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-14780]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-14780]
- [https://security-tracker.debian.org/tracker/CVE-2018-14780]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]