VYPR
Unrated severityNVD Advisory· Published Sep 4, 2018· Updated Aug 5, 2024

CVE-2018-16425

CVE-2018-16425

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Double free in OpenSC's HSM card handling allows attackers with crafted smartcards to cause a denial of service via application crash.

Vulnerability

A double free vulnerability exists in the sc_pkcs15emu_sc_hsm_init function in libopensc/pkcs15-sc-hsm.c in OpenSC versions before 0.19.0-rc1 [1][3]. The flaw occurs when handling crafted responses from an HSM Card, leading to a double free of memory.

Exploitation

An attacker must supply a malicious smartcard that sends specially crafted responses to APDU commands. No authentication is required; the attacker only needs physical or logical access to insert the smartcard into a reader used by an application relying on OpenSC [1].

Impact

Successful exploitation results in a denial of service (application crash) due to memory corruption. The description states that unspecified other impact may be possible, but no further details have been disclosed [1].

Mitigation

The vulnerability is fixed in OpenSC version 0.19.0-rc1 [3]. Users should upgrade to this version or later. No workarounds have been published. The advisory notes that the issue is part of a larger set of vulnerabilities addressed in that release [1].

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.