CVE-2026-10275 OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
12 packages: 2 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/opensc(Debian 12) | = 0.23.0-0.3; = 0.23.0-0.3+deb12u1; = 0.23.0-0.3+deb12u2; = 0.23.0-1 +15 more | No fix listed | No fix yet |
| debian/opensc(Debian 13) | = 0.26.1-2; = 0.26.1-3; = 0.27.0~rc1-1; = 0.27.0~rc2-1 +3 more | No fix listed | No fix yet |
| redhat/opensc(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/opensc(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/opensc(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux opensc(Azure Linux 3.0) | < 0.27.1-2 | 0.27.1-2 | Fixed |
| debian/opensc(Debian 14) | < 0.27.1-2; = 0.26.1-2; = 0.26.1-3; = 0.27.0~rc1-1 +2 more | 0.27.1-2 | Fixed |
| opensc | = 0.26.0; = 0.26.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| opensc | = 0.26.0 | No fix listed |
| opensc | = 0.26.1 | No fix listed |
| debian/opensc(Debian:12) | All versions | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-0.3 | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-0.3+deb12u1 | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-0.3+deb12u2 | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-2 | No fix listed |
| debian/opensc(Debian:12) | = 0.24.0~rc1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.25.0~rc1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.25.1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.25.1-2 | No fix listed |
| debian/opensc(Debian:12) | = 0.25.1-2.1 | No fix listed |
| debian/opensc(Debian:12) | = 0.26.0-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.26.1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.26.1-2 | No fix listed |
| debian/opensc(Debian:12) | = 0.26.1-3 | No fix listed |
| debian/opensc(Debian:12) | = 0.27.0~rc1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.27.0~rc2-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.27.1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.27.1-2 | No fix listed |
| debian/opensc(Debian:13) | All versions | No fix listed |
| debian/opensc(Debian:13) | = 0.26.1-2 | No fix listed |
| debian/opensc(Debian:13) | = 0.26.1-3 | No fix listed |
| debian/opensc(Debian:13) | = 0.27.0~rc1-1 | No fix listed |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/opensc(Debian:13) | = 0.27.0~rc2-1 | No fix listed |
| debian/opensc(Debian:13) | = 0.27.1-1 | No fix listed |
| debian/opensc(Debian:13) | = 0.27.1-2 | No fix listed |
| debian/opensc(Debian:14) | < 0.27.1-2 | 0.27.1-2 |
| debian/opensc(Debian:14) | = 0.26.1-2 | No fix listed |
| debian/opensc(Debian:14) | = 0.26.1-3 | No fix listed |
| debian/opensc(Debian:14) | = 0.27.0~rc1-1 | No fix listed |
| debian/opensc(Debian:14) | = 0.27.0~rc2-1 | No fix listed |
| debian/opensc(Debian:14) | = 0.27.1-1 | No fix listed |
| redhat/opensc(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/opensc(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/opensc(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/opensc(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:26.10) | All versions | No fix listed |
| azure linux opensc(Azure Linux:3.0) | < 0.27.1-2 | 0.27.1-2 |
References
- VDB-367568 | OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow technical-description vdb-entry
- VDB-367568 | CTI Indicators (IOB, IOC, IOA) permissions-required signature
- CVE-2026-10275 | CVE Analysis and Report third-party-advisory
- Submit #825403 | OpenSC OpenSC 0.26.1 and earlier Buffer Overflow third-party-advisory
- github.com issue-tracking
- github.com issue-tracking patch
- pan.baidu.com exploit
- github.com patch
- github.com product
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2026-10275 vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2483908 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking