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.
Conclusion & alert: CVE-2023-40661 is rated Moderate Risk (44.6/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.17%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.32% | 1.17% | +0.85% |
| 2 | 2025-11-21 | 0.53% | 0.32% | -0.20% |
| 3 | 2025-11-18 | — | 0.53% | — |
Full EPSS history (9 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
0.7 | 4.7 | [email protected] |
| 6.4 | 3.1 | MEDIUM |
|
0.5 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2023-40661: 1 source package rows (opensc); 12 state rows across 6 repos (3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 5, open 7. | https://security.alpinelinux.org/vuln/CVE-2023-40661 |
debian
|
not yet assigned | CVE-2023-40661 not yet assigned priority: Debian including 1 source packages (opensc), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2023-40661 |
gentoo
|
normal | CVE-2023-40661: 1 GLSA(s) (202412-15), 1 atom(s) (dev-libs/opensc); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-40661 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2023-40661 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2023-40661/ |
ubuntu
|
medium | CVE-2023-40661 medium priority: Ubuntu including 1 source packages (opensc), 12 status rows across 12 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 6, ignored 3, released 3. | https://ubuntu.com/security/CVE-2023-40661 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| opensc_project | opensc | <= 0.23.0 | cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 8.0 | cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux | 9.0 | cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |