CVE-2018-16421 Memory corruption in n/a
Buffer overflows in OpenSC allow attackers with crafted smartcards to cause application crashes or potential code execution.
- 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-16421?
CVE-2018-16421 is a medium-severity memory corruption 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
Several buffer overflows when handling responses from a CAC Card in cac_get_serial_nr_from_CUID in libopensc/card-cac.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-119
Which versions are affected by CVE-2018-16421?
It affects 1 product.
Products include Opensc Project Opensc.
How do I fix CVE-2018-16421?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2018-16421 being exploited?
There is no known exploitation of CVE-2018-16421 in the wild and no public exploit code.
Other vulnerabilities in Opensc Project Opensc
Sources
Also known as DEBIAN-CVE-2018-16421, GHSA-h7qm-v38r-6f4c, UBUNTU-CVE-2018-16421.