PT-2019-6157
CVE-2019-6502
·
Published
2019-01-22
·
Updated
2026-10-31
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
OpenSC version 0.19.0
Description
The issue is related to a memory leak in the OpenSC library, specifically in the
sc context create function in ctx.c. This leak occurs due to incorrect memory deallocation before the last reference is removed. Exploitation of this issue could allow a remote attacker to cause a denial of service. The memory leak is demonstrated by a call from eidenv.Recommendations
For OpenSC version 0.19.0, consider applying a patch or updating to a newer version that fixes the memory leak issue in the
sc context create function. As a temporary workaround, consider restricting the use of the sc context create function to minimize the risk of exploitation.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾