The TCOS smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in tcos_decipher.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-26572.json"
[
{
"target": {
"file": "src/libopensc/card-tcos.c"
},
"deprecated": false,
"id": "CVE-2020-26572-70cc3a8b",
"digest": {
"line_hashes": [
"58466695333159636353363207331574836164",
"202577461546426578785310313971106836046",
"284255860012804969870862664979029655002",
"139437758083297902526057034584382767580"
],
"threshold": 0.9
},
"signature_type": "Line",
"source": "https://github.com/opensc/opensc/commit/9d294de90d1cc66956389856e60b6944b27b4817",
"signature_version": "v1"
},
{
"target": {
"function": "tcos_decipher",
"file": "src/libopensc/card-tcos.c"
},
"deprecated": false,
"id": "CVE-2020-26572-cb06db58",
"digest": {
"length": 1581.0,
"function_hash": "114247950551260681955303043934807423823"
},
"signature_type": "Function",
"source": "https://github.com/opensc/opensc/commit/9d294de90d1cc66956389856e60b6944b27b4817",
"signature_version": "v1"
}
]