| Título | OpenSC OpenSC 0.26.1 and earlier Buffer Overflow |
|---|
| Descrição | 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. |
|---|
| Fonte | ⚠️ https://github.com/OpenSC/OpenSC/issues/3682 |
|---|
| Utilizador | Fantasy (UID 69897) |
|---|
| Submissão | 11/05/2026 10h08 (há 29 dias) |
|---|
| Moderação | 31/05/2026 18h00 (20 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 367568 [OpenSC até 0.26.1 pkcs11-tool Key Generation src/tools/pkcs11-tool.c test_kpgen_certwrite Excesso de tampão] |
|---|
| Pontos | 20 |
|---|