CVE-2018-16418 Memory corruption in n/a

Medium 6.6 Published Updated

Attackers with crafted smartcards can trigger a buffer overflow in OpenSC, causing 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-16418?

CVE-2018-16418 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

A buffer overflow when handling string concatenation in util_acl_to_str in tools/util.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-16418?

It affects 1 product.

Products include Opensc Project Opensc.

How do I fix CVE-2018-16418?

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

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

All Opensc Project Opensc vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-16418, GHSA-4qgx-xw7p-6ggp, UBUNTU-CVE-2018-16418.

Is CVE-2018-16418 in your software?

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

Check your SBOMs for free