CVE-2018-16425: opensc_project opensc Double Free
Vulnerability summary
CVE-2018-16425 is a medium (CVSS 6.6) Double Free vulnerability in opensc_project opensc. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 51.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.6, 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 4 · Related 2Timeline
- 04-09-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
A double free when handling responses from an HSM Card in sc_pkcs15emu_sc_hsm_init in libopensc/pkcs15-sc-hsm.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.6MediumCVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated6.6MediumCVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated6.6MediumCVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.64%
Chance of exploitation in the next 30 days
Percentile
52%
Versus all other CVEs
30-day change
Decrease -0.03 pp
From 0.66% 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
1 foundExploit Reference (x41-dsec.de)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: physical access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- opensc< 0.19.0-r0
Debian1 product
- opensc< 0.19.0~rc1-1
Opensc_project1 product
- opensc≤ 0.18.0
Ubuntu1 product
- openscAll versions (No fix recorded)
4 vendors · 4 products
References
8 links- github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1X Refsource MISCPatchRelease NotesThird Party AdvisoryREPORT
- github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160adX Refsource MISCPatchThird Party Advisory
- www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/X Refsource MISCExploitThird Party AdvisoryREPORT