OpenSC up to 0.26.1 pkcs11-tool Key Generation src/tools/pkcs11-tool.c test_kpgen_certwrite buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.5 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in OpenSC up to 0.26.1. This vulnerability affects the function test_kpgen_certwrite of the file src/tools/pkcs11-tool.c of the component pkcs11-tool Key Generation Module. Such manipulation leads to buffer overflow.
This vulnerability is listed as CVE-2026-10275. The attack may be performed from remote. In addition, an exploit is available.
Applying a patch is advised to resolve this issue.
Details
A vulnerability was found in OpenSC up to 0.26.1. It has been rated as critical. Affected by this issue is the function test_kpgen_certwrite of the file src/tools/pkcs11-tool.c of the component pkcs11-tool Key Generation Module. The manipulation with an unknown input leads to a buffer overflow vulnerability. Using CWE to declare the problem leads to CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. Impacted is confidentiality, integrity, and availability.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-10275. The exploitation is known to be difficult. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details as well as a public exploit are known.
The exploit is available at pan.baidu.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 323240 (SUSE SLES15 Security Update : opensc (SUSE-SU-2026:2657-1)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 814f745b3b6d100295f65f1935edd33d520d33ab is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (323240). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
License
Website
- Product: https://github.com/OpenSC/OpenSC/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.0VulDB Meta Temp Score: 4.5
VulDB Base Score: 5.0
VulDB Temp Score: 4.5
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Buffer overflowCWE: CWE-120 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 323240
Nessus Name: SUSE SLES15 Security Update : opensc (SUSE-SU-2026:2657-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 814f745b3b6d100295f65f1935edd33d520d33ab
Timeline
05/31/2026 Advisory disclosed05/31/2026 VulDB entry created
06/27/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 3682
Status: Confirmed
Confirmation: 🔒
CVE: CVE-2026-10275 (🔒)
GCVE (CVE): GCVE-0-2026-10275
GCVE (VulDB): GCVE-100-367568
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 05/31/2026 18:05Updated: 06/27/2026 21:05
Changes: 05/31/2026 18:05 (60), 06/27/2026 21:05 (2)
Complete: 🔍
Submitter: Fantasy
Cache ID: 216::103
Submit
Accepted
- Submit #825403: OpenSC OpenSC 0.26.1 and earlier Buffer Overflow (by Fantasy)
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.