CVE-2024-45619 Libopensc: incorrect handling length of buffers or files in libopensc
Attackers can trigger memory corruption via crafted smart card responses, potentially leading to code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-45619?
CVE-2024-45619 is a medium-severity memory corruption vulnerability in Opensc Project Opensc, published on 3 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. 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.
Weakness: CWE-120
Which versions are affected by CVE-2024-45619?
It affects 2 products.
Products include Opensc Project Opensc, Redhat Enterprise Linux.
How do I fix CVE-2024-45619?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-45619 being exploited?
There is no known exploitation of CVE-2024-45619 in the wild and no public exploit code.
Other vulnerabilities in Opensc Project Opensc
Sources
Also known as AZL-48757, AZL-48804, BELL-CVE-2024-45619, CLSA-2025-1765902200, CLSA-2026-1778674879, DEBIAN-CVE-2024-45619 and 2 more.