{"id":"CVE-2026-10275","aliases":["CVE-2026-10275"],"related":[],"kind":"vulnerability","state":"published","title":"OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-01T16:45:14.476Z","modified":"2026-07-22T07:10:00.107Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":2.3,"rating":"LOW"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":2.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":5,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":5,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C","score":5.1,"rating":"MEDIUM"}],"cwes":["CWE-119","CWE-120"],"affected":[{"ranges":[{"version":"0.26.0","status":"affected"},{"version":"0.26.1","status":"affected"}],"product":"OpenSC","cpe":"cpe:2.3:a:opensc:opensc:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://vuldb.com/vuln/367568","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/367568/cti","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/cve/CVE-2026-10275","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/825403","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/issues/3682","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/pull/3684","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrg","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33ab","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["Fantasy (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-01T19:31:06.822Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-10275","url":"https://www.cve.org/CVERecord?id=CVE-2026-10275","licence":"CVE Terms of Use","modified":"2026-06-01T19:31:20.646Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-10275","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10275","licence":"Public domain","modified":"2026-07-22T07:10:00.107Z"}],"updatedAt":"2026-11-25T22:59:23.457Z","epss":{"score":0.00296,"percentile":0.23903,"date":"2026-12-01T12:00:22.000Z"}}