CVE-2024-45620
libopensc: Incorrect handling of the length of buffers or files in pkcs15init
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 2, 2024
Updated · June 30, 2026
Description
A vulnerability was found in the pkcs15-init tool in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 3.9CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')