{"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-08-07T14:53:20.139125Z","published":"2020-10-06T02:15:13.130Z","related":["ALSA-2021:1600","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"],"database_specific":{"unresolved_ranges":[{"vendor_product":"debian:debian_linux","cpes":["cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"9.0"},{"last_affected":"9.0"}],"source":"CPE_STRING"},{"cpes":["cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"33"},{"last_affected":"33"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"}]},"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":{"cpe":"cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.20.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["0.20.0","0.20.0-rc4","0.20.0-rc3","0.20.0-rc2","0.20.0-rc1","0.19.0","0.19.0-rc1","0.18.0","0.18.0-rc2","0.18.0-rc1","0.17.0","0.17.0-rc2","0.17.0-rc1","0.16.0","v0.16.0-pre1","0.15.0","0.14.0","0.14.0rtm","0.14.0rc2","0.13.0","0.13.0rc1","0.13.0pre1","v0.12.2","0.12.2","0.12.2-rc1"],"database_specific":{"vanir_signatures_modified":"2026-08-07T14:53:20Z","vanir_signatures":[{"signature_type":"Line","signature_version":"v1","source":"https://github.com/opensc/opensc/commit/9d294de90d1cc66956389856e60b6944b27b4817","target":{"file":"src/libopensc/card-tcos.c"},"deprecated":false,"digest":{"line_hashes":["58466695333159636353363207331574836164","202577461546426578785310313971106836046","284255860012804969870862664979029655002","139437758083297902526057034584382767580"],"threshold":0.9},"id":"CVE-2020-26572-70cc3a8b"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/opensc/opensc/commit/9d294de90d1cc66956389856e60b6944b27b4817","target":{"file":"src/libopensc/card-tcos.c","function":"tcos_decipher"},"deprecated":false,"digest":{"function_hash":"114247950551260681955303043934807423823","length":1581},"id":"CVE-2020-26572-cb06db58"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-26572.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}