CVE-2023-40661

MEDIUM

OpenSC < 0.23.0 - Memory Corruption via Crafted Smart Card APDU Responses

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.4
EPSS 0.0029
EPSS Percentile 52.9%
Attack Vector PHYSICAL
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H

Details

CWE
CWE-119
Status published
Products (3)
opensc_project/opensc < 0.23.0
redhat/enterprise_linux 8.0
redhat/enterprise_linux 9.0
Published Nov 06, 2023
Tracked Since Feb 18, 2026