CVE-2023-40661

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

Published Nov 6, 2023 CVSS 3.1 · 5.4 Medium EPSS 1.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3668-1 opensc security update
Debian DLA Debian DLA DLA-4004-1 opensc security update
EUVD EUVD EUVD-2023-45217 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.
Ubuntu USN Ubuntu USN USN-7346-1 OpenSC vulnerabilities
Ubuntu USN Ubuntu USN USN-7346-3 OpenSC vulnerabilities
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 8:26 PM
Reserved
Aug 18, 2023, 8:08 AM
Status
Modified
Published
Nov 6, 2023, 5:15 PM
Modified
Nov 6, 2026, 9:17 PM
Severity
Moderate
Public date
Sep 25, 2023, 12:00 AM