{"cve":"CVE-2023-40661","nvd":{"published":"2023-11-06T17:15:11.830","modified":"2026-06-17T06:18:57.740","status":"Modified","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 \r\ncompromise key generation, certificate loading, and other card management operations during enrollment.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.4},"cwes":["CWE-119"],"references":["https://access.redhat.com/errata/RHSA-2023:7876","https://access.redhat.com/errata/RHSA-2023:7879","https://access.redhat.com/security/cve/CVE-2023-40661","https://bugzilla.redhat.com/show_bug.cgi?id=2240913","https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651"],"products":["opensc_project:opensc","redhat:enterprise_linux"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2023-40661","score":0.01318,"percentile":0.70829,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}