CVE Vulnerabilities

CVE-2018-16425

Double Free

Published: Sep 04, 2018 | Modified: Nov 21, 2024
CVSS 3.x
6.6
MEDIUM
Source:
NVD
CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
4.3 MODERATE
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
OpenscOpensc_project*0.18.0 (including)
OpenscUbuntubionic*
OpenscUbuntucosmic*
OpenscUbuntuesm-apps/bionic*
OpenscUbuntuesm-apps/xenial*
OpenscUbuntutrusty*
OpenscUbuntuupstream*
OpenscUbuntuxenial*

Potential Mitigations

References