← Vulnerability feed

Vulnerability record · CVE-2019-6502 · published 22 January 2019

CVE-2019-6502: Opensc project opensc memory leak vulnerability

Opensc Project · Opensc

sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv.

7.5 CVSS 3.0 High EPSS 2.2% · top 16.8% CWE-401 · Memory leak
7.5CVSS 3.0 base score, v2 5.0
2.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2019-6502 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2021-34193Opensc project opensc out-of-bounds write vulnerabilityStack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.EPSS 1.4%7.5CVE-2019-16058Opensc project opensc memory buffer overflow vulnerabilityAn issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card creates a signature with a length longer than 256 bytes,…EPSS 1.5%7.1CVE-2023-2977Opensc project opensc memory buffer overflow vulnerabilityA vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package. The attacker can …EPSS 0.36%6.8CVE-2025-66037Opensc project opensc out-of-bounds read vulnerabilityOpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes O…EPSS 0.28%6.8CVE-2025-66038Opensc project opensc vulnerabilityOpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, sc_compacttlv_find_tag searches a compact-TLV buffer for a given t…EPSS 0.33%6.8CVE-2025-66215Opensc project opensc stack-based buffer overflow vulnerabilityOpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user …EPSS 0.28%6.8CVE-2025-49010Opensc project opensc stack-based buffer overflow vulnerabilityOpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user …EPSS 0.24%6.8CVE-2019-20792Opensc project opensc double free vulnerabilityOpenSC before 0.20.0 has a double free in coolkey_free_private_data because coolkey_add_object in libopensc/card-coolkey.c lacks a uniqueness check.EPSS 0.66%

Source: NIST National Vulnerability Database (record CVE-2019-6502), CISA KEV, FIRST EPSS (scores of 2026-11-25). This page is refreshed as NVD updates the record.