CVE-2024-45620
Libopensc: incorrect handling of the length of buffers or files in pkcs15init
- State
- Published
- Severity
- 3.9 Low
- Published
- Sep 3, 2024
- Updated
- Jun 30, 2026
- Reserved
- Sep 2, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.9 Low | CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L | redhat |
Weaknesses
- CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Affected Products
| Product | Versions |
|---|---|
libopensc | |
Red Hat Enterprise Linux 10Red Hat | |
Red Hat Enterprise Linux 7Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Enterprise Linux 9Red Hat |
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.