Double Free Affecting opensc/opensc package, versions [,0.19.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-OPENSCOPENSC-2364269
  • published26 Jan 2022
  • disclosed4 Sept 2018
  • creditUnknown

Introduced: 4 Sep 2018

CVE-2018-16425  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade opensc/opensc to version 0.19.0 or higher.

Overview

Affected versions of this package are vulnerable to Double Free. A double free when handling responses from an HSM Card in sc_pkcs15emu_sc_hsm_init in libopensc/pkcs15-sc-hsm.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.

CVSS Base Scores

version 3.1