CVE-2026-10275
JSON

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 packageVersionsReported by
OpenSC0.26.0, 0.26.1CVE List

All scores

VulDB2.3low CVSS:4.0CVSS: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
VulDB5.0medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDB5.0medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
VulDB5.1medium CVSS:2.0AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C

Classification

CWE-119CWE-120

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-10275 changed 2026-06-01CVE Terms of Use
NVDCVE-2026-10275 changed 2026-07-22Public domain