opensc project vulnerabilities (CVE)

CVE records published for opensc project, newest first. Follow to get an email when a new one appears.

24 results
5.7Medium
CVE-2025-13763

Libopensc: opensc: multiple uses of uninitialized variable

OpenSC OpenSC; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8

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

3.8Low
CVE-2025-66215

OpenSC: Stack-buffer-overflow WRITE in card-oberthur

OpenSC OpenSC

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 cr…

3.9Low
CVE-2025-66037

OpenSC: Out of Bounds vulnerability

OpenSC OpenSC

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_fr…

3.8Low
CVE-2025-49010

OpenSC: Stack-buffer-overflow WRITE in GET RESPONSE

OpenSC OpenSC

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 cra…

6.7Medium
CVE-2025-24531
OpenSC project pam_pkcs11

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.

2.9Low
CVE-2024-8443

Libopensc: heap buffer overflow in openpgp driver when generating key

opensc; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8

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, pos…

3.9Low
CVE-2024-45620

Libopensc: incorrect handling of the length of buffers or files in pkcs15init

libopensc; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8

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…

4.3Medium
CVE-2024-45619

Libopensc: incorrect handling length of buffers or files in libopensc

libopensc; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8

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…

3.9Low
CVE-2024-45618

Libopensc: uninitialized values after incorrect or missing checking return values of functions in pkcs15init

libopensc; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8

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 …

3.9Low
CVE-2024-45617

Libopensc: uninitialized values after incorrect or missing checking return values of functions in libopensc

libopensc; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8

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 …

3.9Low
CVE-2024-45616

Libopensc: uninitialized values after incorrect check or usage of apdu response values in libopensc

libopensc; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8

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 b…

3.4Low
CVE-2024-1454

Opensc: memory use after free in authentic driver when updating token info

opensc; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9

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…

5.6Medium
CVE-2023-5992

Opensc: side-channel leaks while stripping encryption pkcs#1 padding

Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat Enterprise Linux 7

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.

1.2%EPSS
5.4Medium
CVE-2023-40661

Opensc: multiple memory issues with pkcs15-init (enrollment tool)

OpenSC; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat Enterprise Linux 7

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…

1.3%EPSS
6.6Medium
CVE-2023-40660

Opensc: potential pin bypass when card tracks its own login state

OpenSC; Red Hat Red Hat Enterprise Linux 8; Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat Enterprise Linux 7

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, par…

1.0%EPSS
4.5Medium
CVE-2023-4535

Opensc: out-of-bounds read in myeid driver handling encryption using symmetric keys

Red Hat Red Hat Enterprise Linux 9; Red Hat Red Hat Enterprise Linux 7; Red Hat Red Hat Enterprise Linux 8

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…