Skip to content
OpenAdvisories
Medium DLA-4965-1 6 CVEs

opensc - security update

Published Dec 4, 2026 · Updated Dec 4, 2026

Fixed packages 1

ReleasePackageFixed in
Debian · 12 opensc 0.23.0-0.3+deb12u3

Vulnerabilities 6

  • Medium 5.7

    Libopensc: opensc: multiple uses of uninitialized variable

    Multiple uses of uninitialized variables were found in libopensc that may lead to information disclosure or application crash. An attack requires a crafted USB device or smart card that would present the system with specially crafted responses to the APDUs

  • Medium 5.5

    OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow

    A flaw has been found in OpenSC up to 0.27.1. The impacted element is the function setcos_construct_fci_44 of the file src/libopensc/card-setcos.c. Executing a manipulation of the argument type_attr can lead to stack-based buffer overflow. The attack can be l…

  • Medium 5.0

    OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow

    A flaw has been found in OpenSC up to 0.26.1. This affects the function test_kpgen_certwrite of the file src/tools/pkcs11-tool.c of the component pkcs11-tool Key Generation Module. This manipulation causes buffer overflow. The attack is possible to be carried…

  • Low 3.9

    OpenSC: Out of Bounds vulnerability

    OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes OpenSC to perform an out-of-bounds heap read in the X.509/SPKI handling path. Specifically, sc_pkcs15_pubkey_fr…

  • Low 3.8

    OpenSC: Stack-buffer-overflow WRITE in GET RESPONSE

    OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow write in GET RESPONSE. The attack requires cra…

  • Low 3.8

    OpenSC: Stack-buffer-overflow WRITE in card-oberthur

    OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires cr…