| 标题 | OpenSC OpenSC 0.26.1 and earlier Buffer Overflow |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/OpenSC/OpenSC/issues/3682 |
|---|
| 用户 | Fantasy (UID 69897) |
|---|
| 提交 | 2026-05-11 10時08分 (1 月前) |
|---|
| 管理 | 2026-05-31 18時00分 (20 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 367568 [OpenSC 直到 0.26.1 pkcs11-tool Key Generation src/tools/pkcs11-tool.c test_kpgen_certwrite 内存损坏] |
|---|
| 积分 | 20 |
|---|