CVE-2018-16393 Memory corruption in n/a

Medium 6.8 Published Updated

Attackers with crafted smartcards can trigger buffer overflows in OpenSC, causing application crashes and potential denial of service.

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-2018-16393?

CVE-2018-16393 is a medium-severity memory corruption vulnerability in Opensc Project Opensc, published on 3 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 Gemsafe V1 Smartcard in gemsafe_get_cert_len in libopensc/pkcs15-gemsafeV1.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-16393?

It affects 1 product.

Products include Opensc Project Opensc.

How do I fix CVE-2018-16393?

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-16393 being exploited?

There is no known exploitation of CVE-2018-16393 in the wild and no public exploit code.

All Opensc Project Opensc vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-16393, GHSA-5v2c-mrj8-6f2m, UBUNTU-CVE-2018-16393.

Is CVE-2018-16393 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free