
CVE catalog
CVE-2023-40661
OpenSC vulnerabilities
- Severity
- Medium · CVSS 5.4
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | opensc | sid | 0.27.1-3 | fixed |
| Debian | opensc | forky | 0.27.1-3 | fixed |
| Debian | opensc | trixie | 0.26.1-2 | fixed |
| Debian | opensc | bookworm | 0.23.0-0.3+deb12u2 | fixed |
| Ubuntu | opensc | noble | 0.23.0-0.3+deb12u1 | fixed |
| Ubuntu | opensc | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | opensc-pkcs11 | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | opensc | pro | 0.21.0-1ubuntu1 | vulnerable |
| Ubuntu | opensc | pro | 0.22.0-1ubuntu2 | vulnerable |
| Ubuntu | opensc | pro | 0.22.0-1ubuntu2+esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | opensc | source | sid | 0.23.0-2 | not yet assigned | Not reported | [1055522] |
| Debian | opensc | source | forky | 0.23.0-2 | not yet assigned | Not reported | [1055522] |
| Debian | opensc | source | trixie | 0.23.0-2 | not yet assigned | Not reported | [1055522] |
| Debian | opensc | source | bookworm | 0.23.0-0.3+deb12u1 | not yet assigned | Not reported | [1055522] |
| Ubuntu | opensc | deb | noble | 0.23.0-0.3+deb12u1 | Not reported | Not reported | Not reported |
| Ubuntu | opensc | deb | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | opensc-pkcs11 | deb | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | opensc | deb | pro | 0.22.0-1ubuntu2+esm1 | Not reported | UBUNTU-CVE-2023-40661 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2023:7879]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_7876.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-40661]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-40661]
- [https://security-tracker.debian.org/tracker/CVE-2023-40661]
- [https://ubuntu.com/security/notices/USN-7346-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2500.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]