Skip to content
OpenAdvisories
Unscored CVE-2018-16425 EUVD-2018-8265GHSA-634q-77fv-9cq7

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…

Published Sep 4, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 opensc 0.19.0~rc1-1 —
Debian 13 opensc 0.19.0~rc1-1 —
Debian 12 opensc 0.19.0~rc1-1 —
Debian 8 opensc 0.16.0-3+deb8u1 DLA-1916-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS opensc No fix yet —
Ubuntu Pro 16.04 LTS opensc No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 opensc 0.18.0-3.8.1 SUSE-SU-2018:3629-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed opensc 0.21.0-2.2 openSUSE-SU-2024:11123-1
ReleasePackageFixed inAdvisory
Alpine v3.24 opensc 0.19.0-r0 —
Alpine v3.23 opensc 0.19.0-r0 —
Alpine v3.22 opensc 0.19.0-r0 —
Alpine v3.21 opensc 0.19.0-r0 —
Alpine v3.20 opensc 0.19.0-r0 —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 opensc 0.19.0-r0 —
Alpine v3.18 opensc 0.19.0-r0 —
Alpine v3.17 opensc 0.19.0-r0 —
Alpine v3.16 opensc 0.19.0-r0 —
Alpine v3.15 opensc 0.19.0-r0 —
Alpine v3.14 opensc 0.19.0-r0 —
Alpine v3.13 opensc 0.19.0-r0 —
Alpine v3.12 opensc 0.19.0-r0 —
Alpine v3.11 opensc 0.19.0-r0 —
Alpine v3.10 opensc 0.19.0-r0 —
Alpine v3.9 opensc 0.19.0-r0 —

Advisories 3

References