{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-40661","published":"2023-11-06T17:15:11.830000Z","last_modified":"2026-11-06T21:17:01.990000Z","status":"Modified","cvss":{"version":"3.1","score":6.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-119"],"cpes":[{"criteria":"cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*","part":"a","vendor":"opensc_project","product":"opensc","version_end_including":"0.23.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux","version":"8.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux","version":"9.0"}],"cpes_truncated":false,"vendors":["opensc_project","redhat"],"products":["opensc_project/opensc","redhat/enterprise_linux"],"epss":{"score":0.00811,"percentile":0.53897,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2023-40661/","html_en":"/en/cve/CVE-2023-40661/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-40661","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-40661"},"untrusted":{"vendor_name":"Opensc Project","product_name":"Opensc","desc_en":"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.","affected":[{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 8","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 9","versions":[]},{"untrusted_vendor":"Red Hat","untrusted_product":"Red Hat Enterprise Linux 7","versions":[]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2023:7876","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2023:7879","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2023-40661","tags":["Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2240913","tags":["Issue Tracking"]},{"url":"https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651","tags":["VDB Entry"]},{"url":"https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1","tags":["Release Notes"]},{"url":"https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories","tags":["Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2023/12/13/3","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/","tags":[]}]}}