opensc_project CVE Vulnerabilities & Metrics

Focus on opensc_project vulnerabilities and metrics.

Last updated: 08 Mar 2025, 23:25 UTC

About opensc_project Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with opensc_project. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total opensc_project CVEs: 44
Earliest CVE date: 03 Sep 2018, 14:29 UTC
Latest CVE date: 10 Sep 2024, 14:15 UTC

Latest CVE reference: CVE-2024-8443

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 7

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): 0.0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): 0.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical opensc_project CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 2.77

Max CVSS: 6.3

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 22
4.0-6.9 22
7.0-8.9 0
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS opensc_project CVEs

These are the five CVEs with the highest CVSS scores for opensc_project, sorted by severity first and recency.

All CVEs for opensc_project

CVE-2024-8443 opensc_project vulnerability CVSS: 0 10 Sep 2024, 14:15 UTC

A heap-based buffer overflow vulnerability was found in the libopensc OpenPGP driver. A crafted USB device or smart card with malicious responses to the APDUs during the card enrollment process using the `pkcs15-init` tool may lead to out-of-bound rights, possibly resulting in arbitrary code execution.

CVE-2024-45620 opensc_project vulnerability CVSS: 0 03 Sep 2024, 22:15 UTC

A vulnerability was found in the pkcs15-init tool in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.

CVE-2024-45619 opensc_project vulnerability CVSS: 0 03 Sep 2024, 22:15 UTC

A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.

CVE-2024-45618 opensc_project vulnerability CVSS: 0 03 Sep 2024, 22:15 UTC

A vulnerability was found in pkcs15-init in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.

CVE-2024-45617 opensc_project vulnerability CVSS: 0 03 Sep 2024, 22:15 UTC

A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.

CVE-2024-45616 opensc_project vulnerability CVSS: 0 03 Sep 2024, 22:15 UTC

A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. The following problems were caused by insufficient control of the response APDU buffer and its length when communicating with the card.

CVE-2024-45615 opensc_project vulnerability CVSS: 0 03 Sep 2024, 22:15 UTC

A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. The problem is missing initialization of variables expected to be initialized (as arguments to other functions, etc.).

CVE-2024-1454 opensc_project vulnerability CVSS: 0 12 Feb 2024, 23:15 UTC

The use-after-free vulnerability was found in the AuthentIC driver in OpenSC packages, occuring in the card enrolment process using pkcs15-init when a user or administrator enrols or modifies cards. An attacker must have physical access to the computer system and requires a crafted USB device or smart card to present the system with specially crafted responses to the APDUs, which are considered high complexity and low severity. This manipulation can allow for compromised card management operations during enrolment.

CVE-2023-5992 opensc_project vulnerability CVSS: 0 31 Jan 2024, 14:15 UTC

A vulnerability was found in OpenSC where PKCS#1 encryption padding removal is not implemented as side-channel resistant. This issue may result in the potential leak of private data.

CVE-2023-4535 opensc_project vulnerability CVSS: 0 06 Nov 2023, 17:15 UTC

An out-of-bounds read vulnerability was found in OpenSC packages within the MyEID driver when handling symmetric key encryption. Exploiting this flaw requires an attacker to have physical access to the computer and a specially crafted USB device or smart card. This flaw allows the attacker to manipulate APDU responses and potentially gain unauthorized access to sensitive data, compromising the system's security.

CVE-2023-40661 opensc_project vulnerability CVSS: 0 06 Nov 2023, 17:15 UTC

Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or administrator enrolls cards. To take advantage of these flaws, an attacker must have physical access to the computer system and employ a custom-crafted USB device or smart card to manipulate responses to APDUs. This manipulation can potentially allow compromise key generation, certificate loading, and other card management operations during enrollment.

CVE-2023-40660 opensc_project vulnerability CVSS: 0 06 Nov 2023, 17:15 UTC

A flaw was found in OpenSC packages that allow a potential PIN bypass. When a token/card is authenticated by one process, it can perform cryptographic operations in other processes when an empty zero-length pin is passed. This issue poses a security risk, particularly for OS logon/screen unlock and for small, permanently connected tokens to computers. Additionally, the token can internally track login status. This flaw allows an attacker to gain unauthorized access, carry out malicious actions, or compromise the system without the user's awareness.

CVE-2021-34193 opensc_project vulnerability CVSS: 0 22 Aug 2023, 19:16 UTC

Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.

CVE-2023-2977 opensc_project vulnerability CVSS: 0 01 Jun 2023, 01:15 UTC

A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package. The attacker can supply a smart card package with malformed ASN1 context. The cardos_have_verifyrc_package function scans the ASN1 buffer for 2 tags, where remaining length is wrongly caculated due to moved starting pointer. This leads to possible heap-based buffer oob read. In cases where ASAN is enabled while compiling this causes a crash. Further info leak or more damage is possible.

CVE-2021-42782 opensc_project vulnerability CVSS: 5.0 18 Apr 2022, 17:15 UTC

Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.

CVE-2021-42781 opensc_project vulnerability CVSS: 5.0 18 Apr 2022, 17:15 UTC

Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the library.

CVE-2021-42780 opensc_project vulnerability CVSS: 5.0 18 Apr 2022, 17:15 UTC

A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.

CVE-2021-42779 opensc_project vulnerability CVSS: 5.0 18 Apr 2022, 17:15 UTC

A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.

CVE-2021-42778 opensc_project vulnerability CVSS: 5.0 18 Apr 2022, 17:15 UTC

A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.

CVE-2020-26572 opensc_project vulnerability CVSS: 2.1 06 Oct 2020, 02:15 UTC

The TCOS smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in tcos_decipher.

CVE-2020-26571 opensc_project vulnerability CVSS: 2.1 06 Oct 2020, 02:15 UTC

The gemsafe GPK smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init.

CVE-2020-26570 opensc_project vulnerability CVSS: 2.1 06 Oct 2020, 02:15 UTC

The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.

CVE-2019-20792 opensc_project vulnerability CVSS: 4.6 29 Apr 2020, 04:15 UTC

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.

CVE-2013-1866 opensc_project vulnerability CVSS: 6.3 30 Jan 2020, 14:15 UTC

OpenSC OpenSC.tokend has an Arbitrary File Creation/Overwrite Vulnerability

CVE-2019-19481 opensc_project vulnerability CVSS: 2.1 01 Dec 2019, 23:15 UTC

An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-cac1.c mishandles buffer limits for CAC certificates.

CVE-2019-19480 opensc_project vulnerability CVSS: 2.1 01 Dec 2019, 23:15 UTC

An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.

CVE-2019-19479 opensc_project vulnerability CVSS: 2.1 01 Dec 2019, 23:15 UTC

An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-setcos.c has an incorrect read operation during parsing of a SETCOS file attribute.

CVE-2019-16058 opensc_project vulnerability CVSS: 5.0 06 Sep 2019, 18:15 UTC

An 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, this triggers a buffer overflow. This may be the case for RSA keys with 4096 bits depending on the signature scheme.

CVE-2019-15946 opensc_project vulnerability CVSS: 4.4 05 Sep 2019, 17:15 UTC

OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry in libopensc/asn1.c.

CVE-2019-15945 opensc_project vulnerability CVSS: 4.4 05 Sep 2019, 17:15 UTC

OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string in libopensc/asn1.c.

CVE-2019-6502 opensc_project vulnerability CVSS: 5.0 22 Jan 2019, 08:29 UTC

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

CVE-2018-16427 opensc_project vulnerability CVSS: 2.1 04 Sep 2018, 00:29 UTC

Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially crash the opensc library using programs.

CVE-2018-16426 opensc_project vulnerability CVSS: 2.1 04 Sep 2018, 00:29 UTC

Endless recursion when handling responses from an IAS-ECC card in iasecc_select_file in libopensc/card-iasecc.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to hang or crash the opensc library using programs.

CVE-2018-16425 opensc_project vulnerability CVSS: 4.6 04 Sep 2018, 00:29 UTC

A double free when handling responses from an HSM Card in sc_pkcs15emu_sc_hsm_init in libopensc/pkcs15-sc-hsm.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16424 opensc_project vulnerability CVSS: 4.6 04 Sep 2018, 00:29 UTC

A double free when handling responses in read_file in tools/egk-tool.c (aka the eGK card tool) in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16423 opensc_project vulnerability CVSS: 4.6 04 Sep 2018, 00:29 UTC

A double free when handling responses from a smartcard in sc_file_set_sec_attr in libopensc/sc.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16422 opensc_project vulnerability CVSS: 4.6 04 Sep 2018, 00:29 UTC

A single byte buffer overflow when handling responses from an esteid Card in sc_pkcs15emu_esteid_init in libopensc/pkcs15-esteid.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16421 opensc_project vulnerability CVSS: 4.6 04 Sep 2018, 00:29 UTC

Several buffer overflows when handling responses from a CAC Card in cac_get_serial_nr_from_CUID in libopensc/card-cac.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16420 opensc_project vulnerability CVSS: 4.6 04 Sep 2018, 00:29 UTC

Several buffer overflows when handling responses from an ePass 2003 Card in decrypt_response in libopensc/card-epass2003.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16419 opensc_project vulnerability CVSS: 4.6 04 Sep 2018, 00:29 UTC

Several buffer overflows when handling responses from a Cryptoflex card in read_public_key in tools/cryptoflex-tool.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16418 opensc_project vulnerability CVSS: 4.6 04 Sep 2018, 00:29 UTC

A buffer overflow when handling string concatenation in util_acl_to_str in tools/util.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16393 opensc_project vulnerability CVSS: 4.6 03 Sep 2018, 14:29 UTC

Several buffer overflows when handling responses from a Gemsafe V1 Smartcard in gemsafe_get_cert_len in libopensc/pkcs15-gemsafeV1.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16392 opensc_project vulnerability CVSS: 4.6 03 Sep 2018, 14:29 UTC

Several buffer overflows when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.

CVE-2018-16391 opensc_project vulnerability CVSS: 4.6 03 Sep 2018, 14:29 UTC

Several buffer overflows when handling responses from a Muscle Card in muscle_list_files in libopensc/card-muscle.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.