| Titre | OpenSC OpenSC 0.26.1 and earlier Buffer Overflow |
|---|
| Description | Vulnerability Basic Information
● Vulnerability Name: OpenSC pkcs11-tool Key Generation Module Input Validation Flaw Leading to Global Buffer Overflow
● Vulnerability Type: Buffer Overflow (CWE-120 / CWE-787)
● Affected Component: OpenSC (especially the pkcs11-tool tool)
● Affected Versions: OpenSC 0.26.1 and earlier
● Severity: Medium / High (depending on execution context)
● Attack Vector: Local / Physical
● Prerequisites: The attacker must craft a malicious PKCS#11 module to be loaded by the victim, or provide a malicious physical smart card device with customized firmware, and induce the victim to interact with it via pkcs11-tool, thereby triggering the test_kpgen_certwrite logic. |
|---|
| La source | ⚠️ https://github.com/OpenSC/OpenSC/issues/3682 |
|---|
| Utilisateur | Fantasy (UID 69897) |
|---|
| Soumission | 11/05/2026 10:08 (il y a 1 mois) |
|---|
| Modérer | 31/05/2026 18:00 (20 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 367568 [OpenSC jusqu’à 0.26.1 pkcs11-tool Key Generation src/tools/pkcs11-tool.c test_kpgen_certwrite buffer overflow] |
|---|
| Points | 20 |
|---|