What’s Vulnerable › Vulnerabilities

CVE-2024-45620: Libopensc: incorrect handling of the length of buffers or files in pkcs15init

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 products

How to fix

Upgrade to a fixed version: OpenSC 0.26.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-45620 or the next vulnerability affects your stack