CVE-2019-16058 Memory corruption in n/a
A buffer overflow in the pam_p11 component allows attackers to execute arbitrary code or escalate privileges via a crafted smart card signature.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-16058?
CVE-2019-16058 is a high-severity memory corruption vulnerability in Opensc Project Opensc, published on 6 Sep 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card creates a signature with a length longer than 256 bytes, this triggers a buffer overflow. This may be the case for RSA keys with 4096 bits depending on the signature scheme.
Weakness: CWE-119
Which versions are affected by CVE-2019-16058?
It affects 1 product.
Products include Opensc Project Opensc.
How do I fix CVE-2019-16058?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2019-16058 being exploited?
There is no known exploitation of CVE-2019-16058 in the wild and no public exploit code.
Other vulnerabilities in Opensc Project Opensc
Sources
Also known as DEBIAN-CVE-2019-16058, GHSA-2pqr-cp8m-m5vw, UBUNTU-CVE-2019-16058, openSUSE-SU-2024:11143-1.