CVE-2018-16425

NameCVE-2018-16425
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1916-1
Debian Bugs909444

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opensc (PTS)bullseye0.21.0-1fixed
bookworm0.23.0-0.3+deb12u1fixed
trixie0.25.1-2fixed
sid0.26.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
openscsourcejessie0.16.0-3+deb8u1DLA-1916-1
openscsourcestretch0.16.0-3+deb9u1
openscsource(unstable)0.19.0~rc1-1low909444

Notes

https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-d643a0fa169471dbf2912f4866dc49c5
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/

Search for package or bug name: Reporting problems