Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2023-40661

medium

Several memory vulnerabilities were identified within the OpenSC packages, particularly in the card enrollment process using pkcs15-init when a user or adminis…

Vendor / product: Opensc Project — opensc

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
6.4
6.4 (CVSS v3.1)
CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2023-11-06 17:15
Modified: 2026-11-06 21:17
NVD status: Modified
Last synced 1 week ago
Verified against the source API 2026-11-06 21:38 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

opensc_project / opensc ≤0.23.0
redhat / enterprise_linux 8.0, 9.0

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
Vendor advisory: https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-06 21:38 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs