HOMEVULNERABILITIESCVE-2018-14780
MEDIUM

CVE-2018-14780

CWE-125Published: August 15, 2018· Updated: Jun 17, 2026

4.6
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2018-14780 requires local access, meaning attackers must already have a foothold on the target system.

The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.

A successful exploit results in complete confidentiality breach (data exposure), with a CVSS base score of 4.6.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorPhysical
Attack ComplexityLow
Privileges Req.None
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityNone
AvailabilityNone
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected Vendors & Products

yubico3 product(s)
piv managerpiv toolsmart card minidriver
Source: NVD CPE · 10 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (8)

Quick Facts

CVE IDCVE-2018-14780
CVSS Score4.6 / 10
SeverityMEDIUM
WeaknessCWE-125
CISA KEVNo
Affected1 vendor(s)
PublishedAug 15, 2018

Related CVEs (CWE-125)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2018-14780 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.