CVE-2019-20792 Use after free in n/a
A double free vulnerability in OpenSC allows attackers to potentially execute arbitrary code or cause a denial of service via crafted smart card data.
- 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-2019-20792?
CVE-2019-20792 is a medium-severity use after free vulnerability in Opensc Project Opensc, published on 29 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
OpenSC before 0.20.0 has a double free in coolkey_free_private_data because coolkey_add_object in libopensc/card-coolkey.c lacks a uniqueness check.
Weakness: CWE-415
Which versions are affected by CVE-2019-20792?
It affects 1 product.
Linux distribution packages (1)
opensc openSUSE:Tumbleweed | All versions | 0.22.0-3.1 |
Products include Opensc Project Opensc.
How do I fix CVE-2019-20792?
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-2019-20792 being exploited?
There is no known exploitation of CVE-2019-20792 in the wild and no public exploit code.
Other vulnerabilities in Opensc Project Opensc
Sources
Also known as DEBIAN-CVE-2019-20792, GHSA-m2w8-wqfw-qchx, UBUNTU-CVE-2019-20792, openSUSE-SU-2024:11643-1.