A buffer overflow issue was discovered in the Yubico-Piv 1.5.0 smartcard driver
Published Aug 15, 2018
6.8
MEDIUMCVSS 3.0
EPSS 0.49%
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.
Affected products
No data.
- < 1.4.2
- 1.4.2
- 1.4.2b
- 1.4.2c
- 1.4.2d
- 1.4.2e
- 1.4.2f
- 1.4.2g
- < 1.6.0
- ≤ 3.7.3.160
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.49% (0.00486) | 39.67th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.49% (0.00486) | 40.97th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.16% (0.00156) | 52.38th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.16% (0.00159) | 50.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.04% (0.01040) | 28.32th | v5 (v2026.06.15) |
| Apr 14, 2021 | 1.04% (0.01040) | 0.00th | v1 |
References (4)
- http://www.openwall.com/lists/oss-security/2018/08/14/2 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://usn.ubuntu.com/4276-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.x41-dsec.de/lab/advisories/x41-2018-001-Yubico-Piv/ x_refsource_MISCThird Party Advisory
- https://www.yubico.com/support/security-advisories/ysa-2018-03/ x_refsource_CONFIRMVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2018/08/14/2 | mailing-listx_refsource_MLISTMailing ListThird Party Advisory | |
| https://usn.ubuntu.com/4276-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.x41-dsec.de/lab/advisories/x41-2018-001-Yubico-Piv/ | x_refsource_MISCThird Party Advisory | |
| https://www.yubico.com/support/security-advisories/ysa-2018-03/ | x_refsource_CONFIRMVendor Advisory |
Change history (0)
No recorded changes yet.