Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2018-14779
yubico piv manager

Score6.8 Medium
CVSS 3.0
Exploit probability (EPSS)0.49%
within the next 30 days
CategoryMemory corruption
Published15 August 2018
Last modified: 17 June 2026

In short

This vulnerability can be exploited with physical access to the device, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Buffer bounds violation.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

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

CVSS: CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-119 – Buffer bounds violation, CWE-787 – Out-of-bounds write

Affected products

VendorProductVersions
yubicopiv manager<1.4.2
yubicopiv manager1.4.2
yubicopiv manager1.4.2b
yubicopiv manager1.4.2c
yubicopiv manager1.4.2d
yubicopiv manager1.4.2e
yubicopiv manager1.4.2f
yubicopiv manager1.4.2g
yubicopiv tool<1.6.0
yubicosmart card minidriver<=3.7.3.160

Sources

Latest in the same category

  • CVE-2026-138781 High 7.8
    A flaw was found in the file-psd plugin in GIMP. Incorrect bounds checks when loading PSD alpha channel metadata can cause an out-of-bounds read. Opening a crafted PSD file can crash the application and may allow…
    Memory corruption · 30 November 2026
  • CVE-2026-138700 High 7.5
    A flaw was found in sstp-client. A stack-based buffer overflow in sstp_http_get() can be triggered when parsing HTTP headers from an SSTP server response before authentication. A remote peer can cause the client to…
    Memory corruption · 30 November 2026
  • CVE-2025-6622 Low 1.8
    Improper Validation of Specified Quantity in Input vulnerability in ABB KNXnet/IP Interface IPS/S3.1.1. This issue affects KNXnet/IP Interface IPS/S3.1.1: through 1.0.494.
    Memory corruption · 30 November 2026
  • CVE-2025-59850 Low 1.6
    HCL CAMWorks is affected by an Insecure Binary Compilation vulnerability where an attacker could potentially reverse engineer the binary and leak information or tamper with the code.
    Memory corruption · 30 November 2026
  • CVE-2026-115406 High 8.7
    An out-of-bounds read in the BACnet NPDU parser of the bacrouter service allows an unauthenticated remote attacker to crash the service via a single crafted, truncated NPDU sent to UDP port 47808, resulting in a denial…
    Memory corruption · 30 November 2026
  • CVE-2026-115405 High 8.7
    An out-of-bounds read in the BACnet NPDU parser of the bacrouter service allows an unauthenticated remote attacker to crash the service via a crafted BACnet Network Layer message of type 0x14 with an empty or truncated…
    Memory corruption · 30 November 2026