VYPR

Vendor CVEs

Opensc Project

All CVEs

60 total · sorted by risk
  • CVE-2025-24032CriFeb 10, 2025
    risk 0.53cvss epss 0.01

    PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. Prior to version 0.6.13, if cert_policy is set to none (the default value), then pam_pkcs11 will only check if the user is capable of logging into the token. An attacker may create a…

  • CVE-2021-34193HigAug 22, 2023
    risk 0.49cvss 7.5epss 0.01

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

  • CVE-2019-6502HigJan 22, 2019
    risk 0.49cvss 7.5epss 0.02

    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-2009-1603HigMay 11, 2009
    risk 0.49cvss 7.5epss 0.01

    src/tools/pkcs11-tool.c in pkcs11-tool in OpenSC 0.11.7, when used with unspecified third-party PKCS#11 modules, generates RSA keys with incorrect public exponents, which allows attackers to read the cleartext form of messages that were intended to be encrypted.

  • CVE-2023-40660MedNov 6, 2023
    risk 0.43cvss 6.6epss 0.01

    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…

  • CVE-2013-1866MedJan 30, 2020
    risk 0.40cvss 6.1epss 0.00

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

  • CVE-2025-13763MedApr 23, 2026
    risk 0.37cvss 5.7epss 0.00

    Multiple uses of uninitialized variables were found in libopensc that may lead to information disclosure or application crash. An attack requires a crafted USB device or smart card that would present the system with specially crafted responses to the APDUs

  • CVE-2025-24531MedJan 16, 2026
    risk 0.37cvss 6.7epss 0.00

    In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.

  • CVE-2019-20792MedApr 29, 2020
    risk 0.37cvss 6.8epss 0.01

    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-2023-5992MedJan 31, 2024
    risk 0.36cvss 5.6epss 0.01

    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-2020-26571MedOct 6, 2020
    risk 0.36cvss 5.5epss 0.00

    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-2023-40661MedNov 6, 2023
    risk 0.35cvss 5.4epss 0.01

    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…

  • CVE-2025-24031MedFeb 10, 2025
    risk 0.33cvss epss 0.00

    PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. In versions 0.6.12 and prior, the pam_pkcs11 module segfaults when a user presses ctrl-c/ctrl-d when they are asked for a PIN. When a user enters no PIN at all, `pam_get_pwd` will never…

  • CVE-2024-45619MedSep 3, 2024
    risk 0.28cvss 4.3epss 0.00

    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…

  • CVE-2026-10275MedJun 1, 2026
    risk 0.26cvss 5.0epss 0.00

    A flaw has been found in OpenSC up to 0.26.1. This affects the function test_kpgen_certwrite of the file src/tools/pkcs11-tool.c of the component pkcs11-tool Key Generation Module. This manipulation causes buffer overflow. The attack is possible to be carried out remotely. The…

  • CVE-2024-45620LowSep 3, 2024
    risk 0.25cvss 3.9epss 0.00

    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…

  • CVE-2024-45618LowSep 3, 2024
    risk 0.25cvss 3.9epss 0.00

    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…

  • CVE-2024-45617LowSep 3, 2024
    risk 0.25cvss 3.9epss 0.00

    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…

  • CVE-2024-45616LowSep 3, 2024
    risk 0.25cvss 3.9epss 0.00

    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…

  • CVE-2024-45615LowSep 3, 2024
    risk 0.25cvss 3.9epss 0.00

    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-8443LowSep 10, 2024
    risk 0.19cvss 2.9epss 0.00

    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…

  • CVE-2026-40528LowMay 29, 2026
    risk 0.18cvss 3.8epss 0.00

    OpenSC before 0.27.0, fixed in commit 0358817, contains a stack and heap buffer overrun vulnerability in the do_key_value() function in src/pkcs15init/profile.c that allows attackers to corrupt memory by supplying a crafted profile configuration file. During pkcs15-init…

  • CVE-2026-40510LowMay 29, 2026
    risk 0.18cvss 3.8epss 0.00

    OpenSC before 0.27.0-rc1, fixed in commit 3f24f0b, contains a stack buffer overflow vulnerability in piv_process_history() in src/libopensc/card-piv.c that allows physically present attackers to trigger memory corruption by presenting a crafted PIV smart card or USB device…

  • CVE-2025-66215LowMar 30, 2026
    risk 0.18cvss 3.8epss 0.00

    OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires crafted USB device or…

  • CVE-2025-66038LowMar 30, 2026
    risk 0.18cvss 3.9epss 0.00

    OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, sc_compacttlv_find_tag searches a compact-TLV buffer for a given tag. In compact-TLV, a single byte encodes the tag (high nibble) and value length (low nibble). With a 1-byte buffer {0x0A}, the…

  • CVE-2025-66037LowMar 30, 2026
    risk 0.18cvss 3.9epss 0.00

    OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes OpenSC to perform an out-of-bounds heap read in the X.509/SPKI handling path. Specifically, sc_pkcs15_pubkey_from_spki_fields()…

  • CVE-2025-49010LowMar 30, 2026
    risk 0.18cvss 3.8epss 0.00

    OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow write in GET RESPONSE. The attack requires crafted USB device or…

  • CVE-2009-0368Mar 2, 2009
    risk 0.03cvss epss 0.01

    OpenSC before 0.11.7 allows physically proximate attackers to bypass intended PIN requirements and read private data objects via a (1) low level APDU command or (2) debugging tool, as demonstrated by reading the 4601 or 4701 file with the opensc-explorer or opensc-tool program.

  • CVE-2024-1454LowFeb 12, 2024
    risk 0.00cvss 3.4epss 0.00

    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…

  • CVE-2023-4535MedNov 6, 2023
    risk 0.00cvss 4.5epss 0.00

    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…

  • CVE-2023-2977HigJun 1, 2023
    risk 0.00cvss 7.1epss 0.00

    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…

  • CVE-2021-42782MedApr 18, 2022
    risk 0.00cvss 5.3epss 0.03

    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-42781MedApr 18, 2022
    risk 0.00cvss 5.3epss 0.03

    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-42780MedApr 18, 2022
    risk 0.00cvss 5.3epss 0.02

    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-42779MedApr 18, 2022
    risk 0.00cvss 5.3epss 0.02

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

  • CVE-2021-42778MedApr 18, 2022
    risk 0.00cvss 5.3epss 0.02

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

  • CVE-2020-26572MedOct 6, 2020
    risk 0.00cvss 5.5epss 0.00

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

  • CVE-2020-26570MedOct 6, 2020
    risk 0.00cvss 5.5epss 0.00

    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-19481MedDec 1, 2019
    risk 0.00cvss 4.6epss 0.00

    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-19480MedDec 1, 2019
    risk 0.00cvss 4.6epss 0.01

    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-19479MedDec 1, 2019
    risk 0.00cvss 5.5epss 0.00

    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-16058HigSep 6, 2019
    risk 0.00cvss 7.5epss 0.02

    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-15946MedSep 5, 2019
    risk 0.00cvss 6.4epss 0.00

    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-15945MedSep 5, 2019
    risk 0.00cvss 6.4epss 0.00

    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-2018-16427MedSep 4, 2018
    risk 0.00cvss 4.3epss 0.00

    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-16426MedSep 4, 2018
    risk 0.00cvss 4.3epss 0.01

    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-16425MedSep 4, 2018
    risk 0.00cvss 6.6epss 0.01

    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…

  • CVE-2018-16424MedSep 4, 2018
    risk 0.00cvss 6.6epss 0.01

    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-16423MedSep 4, 2018
    risk 0.00cvss 6.6epss 0.01

    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-16422MedSep 4, 2018
    risk 0.00cvss 6.6epss 0.01

    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…

Page 1 of 2