CVE-2019-20792
mediumpriority · track · 27EPSS 0.007 · 51 %ileDEEUUSEPSS · scored 2026-10-28
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedopensc-0:0.20.0-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-0:0.20.0-2.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-0:0.20.0-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-0:0.20.0-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-0:0.20.0-2.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-0:0.20.0-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debuginfo-0:0.20.0-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debuginfo-0:0.20.0-2.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debuginfo-0:0.20.0-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debuginfo-0:0.20.0-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debuginfo-0:0.20.0-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debugsource-0:0.20.0-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debugsource-0:0.20.0-2.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debugsource-0:0.20.0-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debugsource-0:0.20.0-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Fixedopensc-debugsource-0:0.20.0-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2020:4483 - Workaroundopensc-0:0.20.0-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-0:0.20.0-2.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-0:0.20.0-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-0:0.20.0-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-0:0.20.0-2.el8.src as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-0:0.20.0-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debuginfo-0:0.20.0-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debuginfo-0:0.20.0-2.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debuginfo-0:0.20.0-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debuginfo-0:0.20.0-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debuginfo-0:0.20.0-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debugsource-0:0.20.0-2.el8.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debugsource-0:0.20.0-2.el8.i686 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debugsource-0:0.20.0-2.el8.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debugsource-0:0.20.0-2.el8.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
- Workaroundopensc-debugsource-0:0.20.0-2.el8.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 8)redhat_csaf
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; } ```
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (21)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- RHSA-2020:4483Red Hat Security Advisory: opensc security, bug fix, and enhancement update2020-11-04csaf · redhat_csafUS
An update for opensc is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2023-2406OpenSC: Schwachstelle ermöglicht CodeausführungDeutsch2020-04-28csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in OpenSC ausnutzen, um beliebigen Programmcode auszuführen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19208cnnvd
- https://github.com/OpenSC/OpenSC/commit/c246f6f69a749d4f68626b40795a4f69168008f4cnnvd
- https://github.com/OpenSC/OpenSC/compare/0.19.0...0.20.0cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-20792cnnvd
- https://packetstormsecurity.com/files/159830/Red-Hat-Security-Advisory-2020-4483-01.htmlcnnvd
- https://vigilance.fr/vulnerability/OpenSC-use-after-free-via-coolkey-free-private-data-33788cnnvd
- https://www.auscert.org.au/bulletins/ESB-2020.3883/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.1234cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan