Buffer overflow in Opensc
CVE-2026-10275
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.003 (20.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 20th percentile — 20.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Opensc — versions 0.26.0, 0.26.1
Weakness classification (CWE)
References
- vuldb.com/vuln/367568 (technical-description, vdb-entry)
- vuldb.com/vuln/367568/cti (signature, permissions-required)
- vuldb.com/cve/CVE-2026-10275 (third-party-advisory)
- vuldb.com/submit/825403 (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/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33ab (patch)
- github.com/OpenSC/OpenSC/ (product)
Frequently asked questions
- What is CVE-2026-10275?
- CVE-2026-10275 is a medium-severity vulnerability in Opensc, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 5.0/10. Published 2026-06-01.
- How severe is CVE-2026-10275?
- Medium severity. CVSS v3 base score is 5.0 out of 10.