CVE-2023-40661
Executive Summary
CVE-2023-40661 exposes memory flaws in OpenSC’s pkcs15-init card enrollment, enabling an attacker with physical access to use a custom USB or smart card to tamper APDU responses. This can subvert key generation, certificate loading, and other card‑management functions during enrollment.
Authoritative CVE Metadata
- CVSS Base Score: 5.4 (MEDIUM)
- Last Modified: 06-11-26
Original Description
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.