CVE-2026-10275
OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow
- State
- Published
- Severity
- 2.3 Low
- Published
- Jun 1, 2026
- Updated
- Jun 1, 2026
- Reserved
- May 31, 2026
Description
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 out remotely. The complexity of an attack is rather high. It is indicated that the exploitability is difficult. The exploit has been published and may be used. Patch name: 814f745b3b6d100295f65f1935edd33d520d33ab. It is recommended to apply a patch to fix this issue.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 5.0 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 3.0 | 5.0 Medium | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C | VulDB |
| 2.0 | 5.1 Medium | AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
OpenSCn/a |
|
References
- VDB-367568 | OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflowvdb-entrytechnical-description
- VDB-367568 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-10275 | CVE Analysis and Reportthird-party-advisory
- Submit #825403 | OpenSC OpenSC 0.26.1 and earlier Buffer Overflowthird-party-advisory
- https://github.com/OpenSC/OpenSC/issues/3682issue-tracking
- https://github.com/OpenSC/OpenSC/pull/3684issue-trackingpatch
- https://pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrgexploit
- https://github.com/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33abpatch
- https://github.com/OpenSC/OpenSC/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.