6.4

CVE-2023-40661: opensc_project opensc

CVSS: 6.4v3.1MediumModified
AliasesUBUNTU-CVE-2023-40661DEBIAN-CVE-2023-40661
Published 06-11-2023Last modified 06-11-2025

Vulnerability summary

CVE-2023-40661 is a medium (CVSS 6.4) vulnerability in opensc_project opensc. EPSS estimates a 1.32% chance of exploitation in the next 30 days, higher than 70.4% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.4/10
010
Medium · v3.1 (NVD)
EPSS score
1.32%
0%100%
Low · +0.14 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 6

Timeline

  1. 06-11-2023
    PublishedVulnerability first disclosed.
  2. 06-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

1.32%

Chance of exploitation in the next 30 days

Percentile

70%

Versus all other CVEs

30-day change

+0.14 pp

From 1.17% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.32%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • opensc< 0.23.0-0.3+deb12u1 | < 0.23.0-2
Opensc_project1 product
Redhat1 product
Ubuntu1 product
  • opensc< 0.20.0-3ubuntu0.1~esm4 | < 0.22.0-1ubuntu2+esm1

4 vendors · 4 products

References

19 links
Show all 19 references