CVE-2026-10275 OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow
A buffer overflow in OpenSC's pkcs11-tool allows remote attackers to potentially execute code or cause denial of service via crafted key generation requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-10275?
CVE-2026-10275 is a low-severity memory corruption vulnerability in OpenSC, published on 1 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2026-10275?
How do I fix CVE-2026-10275?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-10275 being exploited?
There is no known exploitation of CVE-2026-10275 in the wild and no public exploit code.
Sources
Also known as AZL-89376, BELL-CVE-2026-10275, CLSA-2026-1788866231, DEBIAN-CVE-2026-10275, GHSA-c758-vvqj-x96q, UBUNTU-CVE-2026-10275.