CVE-2018-16425 Use after free in n/a
Attackers with crafted smartcards can trigger a double free in OpenSC, causing application crashes or potential other impacts.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-16425?
CVE-2018-16425 is a medium-severity use after free vulnerability in Opensc Project Opensc, published on 4 Sep 2018. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-415
Which versions are affected by CVE-2018-16425?
It affects 1 product.
Products include Opensc Project Opensc.
How do I fix CVE-2018-16425?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2018-16425 being exploited?
There is no known exploitation of CVE-2018-16425 in the wild and no public exploit code.
Other vulnerabilities in Opensc Project Opensc
Sources
Also known as DEBIAN-CVE-2018-16425, GHSA-634q-77fv-9cq7, UBUNTU-CVE-2018-16425.