CVE-2018-16426

NameCVE-2018-16426
DescriptionEndless recursion when handling responses from an IAS-ECC card in iasecc_select_file in libopensc/card-iasecc.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to hang or crash the opensc library using programs.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1916-1
NVD severitylow
Debian Bugs909444

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opensc (PTS)jessie0.14.0-2vulnerable
jessie (security)0.16.0-3+deb8u2fixed
stretch0.16.0-3+deb9u1fixed
buster0.19.0-1fixed
bullseye, sid0.20.0-3fixed

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

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

Notes

https://github.com/OpenSC/OpenSC/commit/03628449b75a93787eb2359412a3980365dda49b#diff-f8c0128e14031ed9307d47f10f601b54
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/

Search for package or bug name: Reporting problems