Home

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.

PUBLISHED Reserved 2026-05-31 | Published 2026-06-01 | Updated 2026-06-01 | Assigner VulDB




LOW: 2.3CVSS: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
MEDIUM: 5.0CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
MEDIUM: 5.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
5.1AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C

Problem types

Buffer Overflow

Memory Corruption

Timeline

2026-05-31:Advisory disclosed
2026-05-31:VulDB entry created
2026-05-31:VulDB entry last update

Credits

Fantasy (VulDB User) reporter

References

vuldb.com/vuln/367568 (VDB-367568 | OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow) vdb-entry technical-description

vuldb.com/vuln/367568/cti (VDB-367568 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/cve/CVE-2026-10275 (CVE-2026-10275 | CVE Analysis and Report) third-party-advisory

vuldb.com/submit/825403 (Submit #825403 | OpenSC OpenSC 0.26.1 and earlier Buffer Overflow) third-party-advisory

github.com/OpenSC/OpenSC/issues/3682 issue-tracking

github.com/OpenSC/OpenSC/pull/3684 issue-tracking patch

pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrg exploit

github.com/...ommit/814f745b3b6d100295f65f1935edd33d520d33ab patch

github.com/OpenSC/OpenSC/ product

cve.org (CVE-2026-10275)

nvd.nist.gov (CVE-2026-10275)

Download JSON