CVE-2024-45620
JSON

3.9low

Libopensc: incorrect handling of the length of buffers or files in pkcs15init

Severity
3.9low CVSS:3.1 by redhat
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
libopenscNot specifiedCVE List
openscNot specifiedCVE List
redhat enterprise_linux7.0, 8.0, 9.0NVD
opensc_project openscbefore 0.26.0NVD

All scores

redhat3.9low CVSS:3.1CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD3.9low CVSS:3.1CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Classification

CWE-120

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad en la herramienta pkcs15-init de OpenSC. Un atacante podría usar un dispositivo USB o una tarjeta inteligente manipulada específicamente para presentar al sistema una respuesta a las APDU especialmente manipulada. Cuando los búferes están parcialmente llenos de datos, se puede acceder incorrectamente a las partes inicializadas del búfer.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-45620 changed 2026-11-25CVE Terms of Use
NVDCVE-2024-45620 changed 2026-11-25Public domain