OpenSC before 0.20.0 has a double free in coolkey_free_private_data because…
Priority LOW 31CWE-415Published · Updated
Key facts
- Attack vector
- Physical
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-415 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.00657 51st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2020:4483 Released 2020-11-04 · Red Hat rating Moderateopensc security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) opensc-0.20.0-2.el8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2020:4483 |
Not affected: 1 product
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2019-20792
- 2026-10-03 Alias added: GHSA-m2w8-wqfw-qchx
- 2026-10-11 EPSS moved to the 50th–90th percentile
References
More Opensc vulnerabilities
- TI-2025-40564 OpenSC: `sc_compacttlv_find_tag` can return out-of-bounds pointers CVSS 3.1MEDIUM 6.8
- TI-2025-40563 OpenSC: Out of Bounds vulnerability CVSS 3.1MEDIUM 6.8
- TI-2019-04558 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.0HIGH 7.5
- TI-2021-13306 Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs. CVSS 3.1HIGH 7.5
- TI-2019-12067 An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. CVSS 3.0HIGH 7.5
- TI-2023-21453 Opensc: potential pin bypass when card tracks its own login state CVSS 3.1MEDIUM 6.6
Sources
- CVE-2019-20792 · CVE Program
- CVE-2019-20792 · NVD
- FIRST EPSS
- GHSA-m2w8-wqfw-qchx · GitHub Advisory Database · CC BY 4.0
- CVE-2019-20792 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences