An out-of-bounds read issue was discovered in the Yubico-Piv 1.5.0 smartcard driver
Published Aug 15, 2018
4.6
MEDIUMCVSS 3.0
EPSS 0.45%
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.
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:N/A:N
AV:L/AC:L/Au:N/C:P/I:N/A:N
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 1, 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 (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.45% (0.00445) | 36.41th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.45% (0.00445) | 38.11th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.12% (0.00118) | 46.44th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.12% (0.00118) | 45.04th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.13% (0.00132) | 46.44th | 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.