CVE catalog

CVE-2023-40661

OpenSC vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.4CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.32% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopenscsid0.27.1-3fixed
Debianopenscforky0.27.1-3fixed
Debianopensctrixie0.26.1-2fixed
Debianopenscbookworm0.23.0-0.3+deb12u2fixed
Ubuntuopenscnoble0.23.0-0.3+deb12u1fixed
Ubuntuopenscnoble0.25.0~rc1-1ubuntu0.1~esm1fixed
Ubuntuopensc-pkcs11noble0.25.0~rc1-1ubuntu0.1~esm1fixed
Ubuntuopenscpro0.21.0-1ubuntu1vulnerable
Ubuntuopenscpro0.22.0-1ubuntu2vulnerable
Ubuntuopenscpro0.22.0-1ubuntu2+esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianopenscsourcesid0.23.0-2not yet assignedNot reported[1055522]
Debianopenscsourceforky0.23.0-2not yet assignedNot reported[1055522]
Debianopenscsourcetrixie0.23.0-2not yet assignedNot reported[1055522]
Debianopenscsourcebookworm0.23.0-0.3+deb12u1not yet assignedNot reported[1055522]
Ubuntuopenscdebnoble0.23.0-0.3+deb12u1Not reportedNot reportedNot reported
Ubuntuopenscdebnoble0.25.0~rc1-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuopensc-pkcs11debnoble0.25.0~rc1-1ubuntu0.1~esm1Not reportedNot reportedNot reported
Ubuntuopenscdebpro0.22.0-1ubuntu2+esm1Not reportedUBUNTU-CVE-2023-40661Not reported

[Debian bug #1055522]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References