CVE-2026-10275OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | opensc | Fix pending | UBUNTU-CVE-2026-10275 | |
| Ubuntu 26.04 | opensc | Under investigation | UBUNTU-CVE-2026-10275 | |
| Ubuntu 25.10 | opensc | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-10275 | |
| Ubuntu 24.04 | opensc | Fix pending | UBUNTU-CVE-2026-10275 | |
| Ubuntu 22.04 | opensc | Fix pending | UBUNTU-CVE-2026-10275 | |
| Ubuntu 20.04 | opensc | Fix pending | UBUNTU-CVE-2026-10275 | |
| Ubuntu 18.04 | opensc | Fix pending | UBUNTU-CVE-2026-10275 | |
| Ubuntu 16.04 | opensc | Fix pending | UBUNTU-CVE-2026-10275 | |
| Debian 14 | opensc | Fixed | 0.27.1-2 | DEBIAN-CVE-2026-10275 |
| Debian 13 | opensc | Fix pending | DEBIAN-CVE-2026-10275 | |
| Debian 12 | opensc | Fix pending | DEBIAN-CVE-2026-10275 | |
| Red Hat Enterprise Linux 10 | opensc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | opensc-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | opensc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | opensc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | opensc | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSC: affected: 0.26.0, 0.26.1
Vendor advisories:
- https://github.com/OpenSC/OpenSC/pull/3684 (patch)
- https://github.com/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33ab (patch)
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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.