Debian Opensc vulnerabilities
52 known vulnerabilities affecting debian/opensc.
Total CVEs
52
CISA KEV
0
Public exploits
1
Exploited in wild
0
Severity breakdown
HIGH3MEDIUM19LOW29UNKNOWN1
Vulnerabilities
Page 1 of 3
CVE-2025-66215LOWCVSS 3.8fixed in opensc 0.27.0~rc1-1 (forky)2025
CVE-2025-66215 [LOW] CVE-2025-66215: opensc - OpenSC is an open source smart card tools and middleware. Prior to version 0.27....
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 smart card that would present the system with specially crafted responses to the APDUs. Thi
debian
CVE-2025-49010LOWCVSS 3.8fixed in opensc 0.27.0~rc1-1 (forky)2025
CVE-2025-49010 [LOW] CVE-2025-49010: opensc - OpenSC is an open source smart card tools and middleware. Prior to version 0.27....
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 smart card that would present the system with specially crafted responses to the APDUs. This
debian
CVE-2025-66037LOWCVSS 3.9fixed in opensc 0.27.1-1 (forky)2025
CVE-2025-66037 [LOW] CVE-2025-66037: opensc - OpenSC is an open source smart card tools and middleware. Prior to version 0.27....
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() allocates a zero-length buffer and then reads one byte past the end of that allocation. This i
debian
CVE-2025-66038LOWCVSS 3.9fixed in opensc 0.27.0~rc1-1 (forky)2025
CVE-2025-66038 [LOW] CVE-2025-66038: opensc - OpenSC is an open source smart card tools and middleware. Prior to version 0.27....
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 encoded element claims tag=0 and length=10 but no value bytes follow. Calling sc_compacttlv_f
debian
CVE-2025-13763UNKNOWNfixed in opensc 0.27.0~rc1-1 (forky)2025
CVE-2025-13763 CVE-2025-13763: opensc
bookworm: open
bullseye: open
forky: resolved (fixed in 0.27.0~rc1-1)
sid: resolved (fixed in 0.27.0~rc1-1)
trixie: open
debian
CVE-2024-45619MEDIUMCVSS 4.3fixed in opensc 0.23.0-0.3+deb12u2 (bookworm)2024
CVE-2024-45619 [MEDIUM] CVE-2024-45619: opensc - A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, a...
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.
Scope: local
bookworm: resolved (fixed i
debian
CVE-2024-1454LOWCVSS 3.4fixed in opensc 0.23.0-0.3+deb12u2 (bookworm)2024
CVE-2024-1454 [LOW] CVE-2024-1454: opensc - The use-after-free vulnerability was found in the AuthentIC driver in OpenSC pac...
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 AP
debian
CVE-2024-45615LOWCVSS 3.9fixed in opensc 0.23.0-0.3+deb12u2 (bookworm)2024
CVE-2024-45615 [LOW] CVE-2024-45615: opensc - A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, a...
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.).
Scope: local
bookworm: resolved (fixed in 0.23.0-0.3+deb12u2)
bullseye: resolved (fixed in 0.21.0-1+deb11u1)
forky: resolved (fixed in 0.25.1-2.1)
sid: resolved (f
debian
CVE-2024-8443LOWCVSS 2.9fixed in opensc 0.23.0-0.3+deb12u2 (bookworm)2024
CVE-2024-8443 [LOW] CVE-2024-8443: opensc - A heap-based buffer overflow vulnerability was found in the libopensc OpenPGP dr...
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.
Scope: local
bookworm: resolved (fixed in 0.23.0-0.3+deb12u2)
bullse
debian
CVE-2024-45616LOWCVSS 3.9fixed in opensc 0.23.0-0.3+deb12u2 (bookworm)2024
CVE-2024-45616 [LOW] CVE-2024-45616: opensc - A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, a...
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.
Scope: local
debian
CVE-2024-45617LOWCVSS 3.9fixed in opensc 0.23.0-0.3+deb12u2 (bookworm)2024
CVE-2024-45617 [LOW] CVE-2024-45617: opensc - A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, a...
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.
Scope: local
b
debian
CVE-2024-45618LOWCVSS 3.9fixed in opensc 0.23.0-0.3+deb12u2 (bookworm)2024
CVE-2024-45618 [LOW] CVE-2024-45618: opensc - A vulnerability was found in pkcs15-init in OpenSC. An attacker could use a craf...
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.
Scope: local
bookworm: resolved (fixed in 0.23.0-0
debian
CVE-2024-45620LOWCVSS 3.9fixed in opensc 0.23.0-0.3+deb12u2 (bookworm)2024
CVE-2024-45620 [LOW] CVE-2024-45620: opensc - A vulnerability was found in the pkcs15-init tool in OpenSC. An attacker could u...
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.
Scope: local
bookworm: resolved (fixed in 0.23.0-0.3+deb12u2)
bullseye
debian
CVE-2023-2977HIGHCVSS 7.1fixed in opensc 0.23.0-0.3 (bookworm)2023
CVE-2023-2977 [HIGH] CVE-2023-2977: opensc - A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vu...
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
debian
CVE-2023-5992MEDIUMCVSS 5.6fixed in opensc 0.23.0-0.3+deb12u2 (bookworm)2023
CVE-2023-5992 [MEDIUM] CVE-2023-5992: opensc - A vulnerability was found in OpenSC where PKCS#1 encryption padding removal is n...
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.
Scope: local
bookworm: resolved (fixed in 0.23.0-0.3+deb12u2)
bullseye: resolved (fixed in 0.21.0-1+deb11u1)
forky: resolved (fixed in 0.25.0~rc1-1)
sid: resolved (fixed in 0.25.0~rc1-1)
debian
CVE-2023-40660MEDIUMCVSS 6.6fixed in opensc 0.23.0-0.3+deb12u1 (bookworm)2023
CVE-2023-40660 [MEDIUM] CVE-2023-40660: opensc - A flaw was found in OpenSC packages that allow a potential PIN bypass. When a to...
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,
debian
CVE-2023-40661MEDIUMCVSS 5.4fixed in opensc 0.23.0-0.3+deb12u1 (bookworm)2023
CVE-2023-40661 [MEDIUM] CVE-2023-40661: opensc - Several memory vulnerabilities were identified within the OpenSC packages, parti...
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
debian
CVE-2023-4535MEDIUMCVSS 4.5fixed in opensc 0.23.0-0.3+deb12u1 (bookworm)2023
CVE-2023-4535 [MEDIUM] CVE-2023-4535: opensc - An out-of-bounds read vulnerability was found in OpenSC packages within the MyEI...
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 sensi
debian
CVE-2021-34193HIGHCVSS 7.5fixed in opensc 0.22.0-1 (bookworm)2021
CVE-2021-34193 [HIGH] CVE-2021-34193: opensc - Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via cra...
Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
Scope: local
bookworm: resolved (fixed in 0.22.0-1)
bullseye: resolved (fixed in 0.21.0-1+deb11u1)
forky: resolved (fixed in 0.22.0-1)
sid: resolved (fixed in 0.22.0-1)
trixie: resolved (fixed in 0.22.0-1)
debian
CVE-2021-42779MEDIUMCVSS 5.3fixed in opensc 0.22.0-1 (bookworm)2021
CVE-2021-42779 [MEDIUM] CVE-2021-42779: opensc - A heap use after free issue was found in Opensc before version 0.22.0 in sc_file...
A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.
Scope: local
bookworm: resolved (fixed in 0.22.0-1)
bullseye: resolved (fixed in 0.21.0-1+deb11u1)
forky: resolved (fixed in 0.22.0-1)
sid: resolved (fixed in 0.22.0-1)
trixie: resolved (fixed in 0.22.0-1)
debian
1 / 3Next →