CVE-2019-20792 in Opensc-Project Opensc
OpenSC 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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires physical access, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Opensc-Project | Opensc | — |
| Opensc Project | Opensc | < 0.20.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
OpenSC 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-20792 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-185904-M |
| CVSS vector | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-04-29 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-415: CWE-415
Analysis AI-written, not human-reviewed
OpenSC before version 0.20.0 contains a double free vulnerability in the coolkey_free_private_data function due to a lack of uniqueness check in coolkey_add_object within libopensc/card-coolkey.c. This could lead to memory corruption and potentially arbitrary code execution.
An attacker could exploit this vulnerability by crafting a specific sequence of operations that trigger the double free condition, potentially leading to memory corruption and arbitrary code execution in the context of the application using the vulnerable OpenSC library.
Questions
What is CVE-2019-20792?
OpenSC before version 0.20.0 contains a double free vulnerability in the coolkey_free_private_data function due to a lack of uniqueness check in coolkey_add_object within libopensc/card-coolkey.c. This could lead to memory corruption and potentially arbitrary code execution.
What is the CVSS score for CVE-2019-20792?
CVE-2019-20792 has CVSS 6.8 (Medium). Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.7%.
Is CVE-2019-20792 actively exploited?
No confirmed active exploitation of CVE-2019-20792 as of 2026-09-25.
How do I remediate CVE-2019-20792?
Priority: HIGH.
What systems are affected by CVE-2019-20792?
CVE-2019-20792 affects Opensc-Project Opensc.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Opensc-Project","product":"Opensc","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.