CVE-2023-40661: OpenSC - Memory Corruption
- Cve: CVE-2023-40661
- Name: OpenSC - Memory Corruption
- 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.
- Impact: Attackers with physical access can potentially compromise cryptographic keys and manipulate card management operations, risking system security.
- Remediation: Update to the latest version of OpenSC packages that address these memory vulnerabilities.
- Vulnerability type: buffer_overflow
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.4
- Cvss vector: CVSS:3.1/AV:P/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01318
- Epss percentile: 0.71429
- Assignee: [email protected]
- Published at: 2023-11-06T17:15:11Z
- Age in days: 1114
- Modified at: 2026-11-06T21:17:01Z
- References total: 12
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-40661
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| opensc_project:opensc | <= 0.23.0 | no | nvd | /v1/products/opensc_project/opensc |
| redhat:enterprise_linux | = 9.0, = 8.0 | no | nvd | /v1/products/redhat/enterprise_linux |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| OpenSC/OpenSC | issues, releases | yes | /v1/repositories/OpenSC/OpenSC |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts