{"id":"CVE-2020-26572","details":"The TCOS smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in tcos_decipher.","modified":"2026-04-11T11:23:29.036679Z","published":"2020-10-06T02:15:13.130Z","related":["ALSA-2021:1600","MGASA-2021-0037","SUSE-SU-2021:0998-1","SUSE-SU-2021:1168-1","SUSE-SU-2022:1041-1","openSUSE-SU-2021:0565-1","openSUSE-SU-2024:11123-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EXOHFDMNMO6IDECAGUTB3SJGAGXVRT6S/"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2020/11/24/4"},{"type":"ADVISORY","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22967"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/11/msg00027.html"},{"type":"FIX","url":"https://github.com/OpenSC/OpenSC/commit/9d294de90d1cc66956389856e60b6944b27b4817"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opensc/opensc","events":[{"introduced":"0"},{"last_affected":"45e29056ccde422e70ed3585084a7f150c632515"},{"fixed":"9d294de90d1cc66956389856e60b6944b27b4817"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"0.20.0"}]}}],"versions":["0.12.2","0.12.2-rc1","0.13.0","0.13.0pre1","0.13.0rc1","0.14.0","0.14.0rc2","0.14.0rtm","0.15.0","0.16.0","0.17.0","0.17.0-rc1","0.17.0-rc2","0.18.0","0.18.0-rc1","0.18.0-rc2","0.19.0","0.19.0-rc1","0.20.0","0.20.0-rc1","0.20.0-rc2","0.20.0-rc3","0.20.0-rc4","v0.12.2","v0.16.0-pre1"],"database_specific":{"vanir_signatures_modified":"2026-04-11T11:23:29Z","vanir_signatures":[{"deprecated":false,"id":"CVE-2020-26572-70cc3a8b","signature_version":"v1","target":{"file":"src/libopensc/card-tcos.c"},"source":"https://github.com/opensc/opensc/commit/9d294de90d1cc66956389856e60b6944b27b4817","signature_type":"Line","digest":{"line_hashes":["58466695333159636353363207331574836164","202577461546426578785310313971106836046","284255860012804969870862664979029655002","139437758083297902526057034584382767580"],"threshold":0.9}},{"deprecated":false,"id":"CVE-2020-26572-cb06db58","signature_version":"v1","target":{"file":"src/libopensc/card-tcos.c","function":"tcos_decipher"},"source":"https://github.com/opensc/opensc/commit/9d294de90d1cc66956389856e60b6944b27b4817","signature_type":"Function","digest":{"function_hash":"114247950551260681955303043934807423823","length":1581}}],"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"9.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26572.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}