# CVE-2026-10275: OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow

- Severity: Low 2.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-01T16:45:14.476Z
- Modified: 2026-07-22T07:10:00.107Z
- Weaknesses: CWE-119, CWE-120
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- OpenSC: 0.26.0; 0.26.1

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 5.1 Medium `AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrg> (exploit)
- <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://github.com/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33ab> (patch)
- <https://github.com/OpenSC/OpenSC/> (product)

## Sources

- CVE List: [CVE-2026-10275](https://www.cve.org/CVERecord?id=CVE-2026-10275), CVE Terms of Use, modified 2026-06-01
- NVD: [CVE-2026-10275](https://nvd.nist.gov/vuln/detail/CVE-2026-10275), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-10275 · Whole record: https://cve.day/CVE-2026-10275.json · Rebuilt by cve.day 2026-11-25T22:59:23.457Z
