Memory corruption via unchecked token object ID
Published Jun 1, 2026 · Updated Jun 1, 2026
Buffer overflow in OpenSC Project OpenSC 0.26.0 and 0.26.1 allows attackers to corrupt process memory via a malicious PKCS#11 module. In test_kpgen_certwrite, memcpy uses a token-supplied CKA_ID length without bounding it to the 100-byte global opt_object_id buffer. Exploitation requires user interaction with a malicious module or smart card during key-generation testing, enabling a crash or corruption of adjacent global state.
Summary
What happened
Buffer overflow in OpenSC Project OpenSC 0.26.0 and 0.26.1 allows attackers to corrupt process memory via a malicious PKCS#11 module. In test_kpgen_certwrite, memcpy uses a token-supplied CKA_ID length without bounding it to the 100-byte global opt_object_id buffer. Exploitation requires user interaction with a malicious module or smart card during key-generation testing, enabling a crash or corruption of adjacent global state.
The record
- CVE
- CVE-2026-10275
- Published
- Jun 1, 2026
- Updated
- Jun 1, 2026
- Vendor
- OpenSC Project
- Product
- OpenSC
- Classifications
- CWE-120, CWE-119, T1204.002
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Jun 1, 2026CVE publishedPublication date reported by the CVE source.
- Jun 1, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.26.0
- Affected versionversion=0.26.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Reproduce2 malicious PKCS#11 moduleproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo