
CVE catalog
CVE-2018-14779
yubico-piv-tool: CVE-2018-14779
- Severity
- High · CVSS 7.1
CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.49% · Oct 25, 2026
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.
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 | 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 |
| Ubuntu | yubico-piv-tool | 18.04 | 1.4.2-2 | vulnerable |
| Ubuntu | yubico-piv-tool | 18.04 | 1.4.2-2ubuntu0.1 | fixed |
| Opensuse | yubico-piv-tool | tumbleweed | 2.2.0-1.5 | fixed |
| Opensuse | yubico-piv-tool | leap 15.0 | 1.5.0-lp150.2.3.1 | fixed |
| Suse | yubico-piv-tool | linux enterprise module for basesystem 15 | 1.5.0-3.3.33 | 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 | USN-4846-1 | Not reported |
| Ubuntu | yubico-piv-tool | deb | pro | 1.0.3-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2018-14779 | Not reported |
| Ubuntu | yubico-piv-tool | deb | 18.04 | 1.4.2-2ubuntu0.1 | Not reported | UBUNTU-CVE-2018-14779 | Not reported |
| Ubuntu | yubico-piv-tool | deb | 18.04 | 1.4.2-2ubuntu0.1 | Not reported | USN-4276-1 | Not reported |
| Opensuse | yubico-piv-tool | rpm | tumbleweed | 2.2.0-1.5 | Not reported | OPENSUSE-SU-2024:11537-1 | Not reported |
| Opensuse | yubico-piv-tool | rpm | leap 15.0 | 1.5.0-lp150.2.3.1 | Not reported | OPENSUSE-SU-2019:1341-1 | Not reported |
| Suse | yubico-piv-tool | rpm | linux enterprise module for basesystem 15 | 1.5.0-3.3.33 | Not reported | SUSE-SU-2019:1123-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [libykcs11-2]Unknown
Source package: [yubico-piv-tool]
Details (1)
2.7.3-1.4· x86_64 · tumbleweedUnknown · Fixed:
2.2.0-1.5Version impact unknown
dsa · yubico-piv-tool · opensuse · tumbleweed
- [libykcs11-devel]Unknown
Source package: [yubico-piv-tool]
Details (1)
2.7.3-1.4· x86_64 · tumbleweedUnknown · Fixed:
2.2.0-1.5Version impact unknown
dsa · yubico-piv-tool · opensuse · tumbleweed
- [libykpiv2]Unknown
Source package: [yubico-piv-tool]
Details (1)
2.7.3-1.4· x86_64 · tumbleweedUnknown · Fixed:
2.2.0-1.5Version impact unknown
dsa · yubico-piv-tool · opensuse · tumbleweed
- [libykpiv-devel]Unknown
Source package: [yubico-piv-tool]
Details (1)
2.7.3-1.4· x86_64 · tumbleweedUnknown · Fixed:
2.2.0-1.5Version impact unknown
dsa · yubico-piv-tool · opensuse · tumbleweed
- [yubico-piv-tool]Fixed
Source package: [yubico-piv-tool]
Details (1)
2.7.3-1.4· x86_64 · tumbleweedFixed · Fixed:
2.2.0-1.5dsa · yubico-piv-tool · opensuse · tumbleweed
[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-14779]
- [https://osv.dev/vulnerability/SUSE-SU-2019:1123-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-14779]
- [https://osv.dev/vulnerability/USN-4276-1]
- [https://osv.dev/vulnerability/USN-4846-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2019:1341-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11537-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-14779]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]