2.3low
OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow
- Severity
- 2.3low CVSS:4.0 by VulDB
- Exploit likelihood
- 0.30% (higher than 23% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenSC | 0.26.0, 0.26.1 | CVE List |
All scores
| VulDB | 2.3low CVSS:4.0 | 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 | 5.0medium CVSS:3.1 | 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 | 5.0medium CVSS:3.0 | 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 | 5.1medium CVSS:2.0 | AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha encontrado una vulnerabilidad en OpenSC hasta la versión 0.26.1. Esto afecta a la función test_kpgen_certwrite del archivo src/tools/pkcs11-tool.c del componente pkcs11-tool Key Generation Module. Esta manipulación provoca desbordamiento de búfer. El ataque puede llevarse a cabo de forma remota. La complejidad de un ataque es bastante alta. Se indica que la explotabilidad es difícil. El exploit ha sido publicado y puede ser utilizado. Nombre del parche: 814f745b3b6d100295f65f1935edd33d520d33ab. Se recomienda aplicar un parche para corregir este problema.
References
| https://vuldb.com/vuln/367568 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/367568/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-10275 | third-party-advisory | |
| https://vuldb.com/submit/825403 | third-party-advisory | |
| https://github.com/OpenSC/OpenSC/issues/3682 | issue-tracking | |
| https://github.com/OpenSC/OpenSC/pull/3684 | issue-tracking, patch | |
| https://pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrg | exploit | |
| https://github.com/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33ab | patch | |
| https://github.com/OpenSC/OpenSC/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-10275 changed 2026-06-01 | CVE Terms of Use |
| NVD | CVE-2026-10275 changed 2026-07-22 | Public domain |