Endless recursion when handling responses from an IAS-ECC card in iaseccselectfile 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.
[
{
"source": "https://github.com/opensc/opensc/commit/03628449b75a93787eb2359412a3980365dda49b",
"target": {
"file": "src/libopensc/card-iasecc.c"
},
"digest": {
"line_hashes": [
"305669692155909973520627135751357879527",
"251334081477015221125990730745505354601",
"134406522267042626252050150832528287567",
"277782198091582563343361403567242913780",
"88565159515008359977172308201979753609",
"193030754571378948556834261188099873612",
"196755580204196598803093232732591052103",
"306278050986908628292519813156819136996",
"3780710711739340700126246012584124474",
"46058005536107373500213102097167255621",
"253231763253972024815246637268084374733"
],
"threshold": 0.9
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1",
"id": "CVE-2018-16426-40a18c97"
},
{
"source": "https://github.com/opensc/opensc/commit/03628449b75a93787eb2359412a3980365dda49b",
"target": {
"function": "iasecc_select_file",
"file": "src/libopensc/card-iasecc.c"
},
"digest": {
"function_hash": "329899996166684623670025108497191726919",
"length": 6798.0
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1",
"id": "CVE-2018-16426-d1f99eb9"
}
]