CVE-2024-45620: Libopensc: incorrect handling of the length of buffers or files in pkcs15init
Vulnerability summary
CVE-2024-45620 is a low (CVSS 3.9) vulnerability in opensc_project opensc. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.4% of scored vulnerabilities.
Not severe (CVSS 3.9, physical access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 9Timeline
- 03-09-2024PublishedVulnerability first disclosed.
- 25-11-2026Last modifiedVulnerability information updated.
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 metrics
5 scores · 5 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated3.9LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated3.9LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- NVDNIST3.9LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- OSV · AlpineEcosystem advisory · calculated3.9LowCVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: physical access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- opensc< 0.26.0-r0
Debian1 product
- opensc< 0.23.0-0.3+deb12u2 | < 0.25.1-2.1
Opensc_project1 product
- opensc< 0.26.0
Redhat1 product
- enterprise_linuxEOL7.0 | 8.0 | 9.0
Ubuntu1 product
- opensc< 0.15.0-1ubuntu1+esm2 | < 0.17.0-3ubuntu0.1~esm2 | < 0.20.0-3ubuntu0.1~esm4 | < 0.22.0-1ubuntu2+esm1 | < 0.25.0~rc1-1ubuntu0.1~esm1
5 vendors · 5 products