opensc

12 published vulnerabilities name this product.

As the CNAs write it in their CVE records (vendor and product); the versions are theirs.

CVEVulnerable versionsTitleSeverityPublishedEPSSExploitation
CVE-2026-1035310.27.0 ; 0.27.1OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflowMEDIUM 5.10.2 %
CVE-2026-102750.26.0 ; 0.26.1OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflowLOW 2.30.3 %
CVE-2024-84430.26.0 – < 0.26.0Libopensc: heap buffer overflow in openpgp driver when generating keyLOW 2.90.3 %
CVE-2024-14540.25.0Opensc: memory use after free in authentic driver when updating token infoLOW 3.40.4 %
CVE-2023-40661< 0.24.0Opensc: multiple memory issues with pkcs15-init (enrollment tool)MEDIUM 6.41.3 %
CVE-2023-406600.17.0 – < 0.24.0Opensc: potential pin bypass when card tracks its own login stateMEDIUM 6.61.0 %
CVE-2023-2977opensc-0.23.0A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package. The attaHIGH 7.10.3 %
CVE-2021-42778opensc 0.22.0A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.MEDIUM 5.32.1 %
CVE-2021-42782opensc 0.22.0Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the liMEDIUM 5.32.8 %
CVE-2021-42781opensc 0.22.0Heap buffer overflow issues were found in Opensc before version 0.22.0 in pkcs15-oberthur.c that could potentially crash programs using the MEDIUM 5.32.9 %
CVE-2021-42780opensc 0.22.0A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the liMEDIUM 5.32.2 %
CVE-2021-42779opensc 0.22.0A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.MEDIUM 5.32.1 %