cve.bz

CVE-2019-20792 opensc project opensc: Double Free

6.8 mediumExploit referenceEPSS 0.7%Fix available

Medium (6.8) in opensc project opensc. EPSS 0.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-20792 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-20792?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-20792?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-20792 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
opensc_project:openscbefore 0.20.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14opensc0.20.0-1DEBIAN-CVE-2019-20792
UbuntuPro:18.04:LTSopenscno fix listedUBUNTU-CVE-2019-20792
Red Hatenterprise_linux:8::baseosopensc, opensc-debuginfo, opensc-debugsource0:0.20.0-2.el8RHSA-2020:4483
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreopensc0.18.0-150000.3.23.1SUSE-SU-2022:1041-1
SUSELinux Enterprise Module for Basesystem 15 SP2opensc0.19.0-3.7.1SUSE-SU-2021:1168-1
openSUSELeap 15.2opensc0.19.0-lp152.3.3.1openSUSE-SU-2021:0565-1
openSUSETumbleweedopensc0.22.0-3.1openSUSE-SU-2024:11643-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

If the coolkey driver is not necessary for the configuration and system in use, it is possible to disable it by not listing it in the /etc/opensc.conf file.

For example:

```

app default {

card_drivers = cac, cac1, PIV-II;

}

```

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8opensc-0:0.20.0-2.el8Fixed 2020-11-04RHSA-2020:4483
Red Hat Enterprise Linux 7openscNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-20792.

References

Check your stackJSON