# CVE-2026-10275: OpenSC pkcs11-tool Key Generation pkcs11-tool.c test\_kpgen\_certwrite buffer overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-01 · Modified: 2026-06-01
- Aliases: UBUNTU-CVE-2026-10275, DEBIAN-CVE-2026-10275
- Record: https://cvemate.com/vulnerability/CVE-2026-10275 · JSON: https://cvemate.com/vulnerability/CVE-2026-10275/json

## Description

```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.
```

## Signals

- CVSS: 5.1 medium (v2.0, CVE.org) AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C
- EPSS: 0.296%, percentile 23.856%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian opensc (Debian): All versions (No fix recorded) \| \< 0.23.0-0.3+deb12u3 \| \< 0.27.1-2
- ubuntu opensc (Ubuntu): All versions (No fix recorded)

## References

- <https://vuldb.com/vuln/367568>
- <https://vuldb.com/vuln/367568/cti>
- <https://vuldb.com/cve/CVE-2026-10275>
- <https://vuldb.com/submit/825403>
- <https://github.com/OpenSC/OpenSC/issues/3682>
- <https://github.com/OpenSC/OpenSC/pull/3684>
- <https://pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrg>
- <https://github.com/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33ab>
- <https://github.com/OpenSC/OpenSC/>
- <https://ubuntu.com/security/CVE-2026-10275>
- <https://www.cve.org/CVERecord?id=CVE-2026-10275>
- <https://security-tracker.debian.org/tracker/CVE-2026-10275>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-10275>

---

Data as of 2026-12-05T13:43:26.417Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
