Skip to content
OpenAdvisories
Medium · 5.0 CVE-2026-10275 EUVD-2026-33680GHSA-c758-vvqj-x96q

OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow

Published Jun 1, 2026 · Updated Jun 1, 2026 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
— OpenSC 0.26.0, 0.26.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 opensc 0.27.1-2 —
Debian 13 opensc No fix yet —
Debian 12 opensc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 opensc No fix yet —
Ubuntu 26.04 LTS opensc No fix yet —
Ubuntu 25.10 opensc No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS opensc No fix yet —
Ubuntu Pro 22.04 LTS opensc No fix yet —
Ubuntu Pro 20.04 LTS opensc No fix yet —
Ubuntu Pro 18.04 LTS opensc No fix yet —
Ubuntu Pro 16.04 LTS opensc No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 opensc 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SLES 15 SP6 opensc 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SLES 15 SP5 opensc 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SLES 15 SP4 opensc 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SLES 12 SP5 opensc 0.13.0-3.36.1 SUSE-SU-2026:2678-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 opensc 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SLES for SAP 15 SP5 opensc 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SLES for SAP 15 SP4 opensc 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SLE Micro 6.1 opensc 0.24.0-slfo.1.1_4.1 SUSE-SU-2026:22139-1
SLE Micro 6.0 opensc 0.24.0-6.1 SUSE-SU-2026:22103-1
SLE Micro 5.5 opensc 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SLE Micro 5.4 opensc 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SLE Micro 5.3 opensc 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SLE HPC 15 SP5 opensc 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SLE HPC 15 SP4 opensc 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed opensc 0.27.1-2.1 openSUSE-SU-2026:11022-1
openSUSE Leap 16.0 opensc 0.26.1-160000.5.1 openSUSE-SU-2026:21873-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 opensc 0.24.0-1.amzn2023.0.5 ALAS2023-2026-1898
Amazon Linux 2 opensc 0.19.0-6.amzn2.0.3 ALAS2-2026-3492

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 opensc 0.27.1-2 —

Advisories 10

References