Skip to content
Fencer Vulns
medium 5.0

CVE-2026-10275 json

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

published 2026-06-01 5 mo ago modified 2026-07-22 3 mo ago also EUVD-2026-33680

cvss
5.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 22%
public exploits
0
none known

Summary

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.

Patch / fix

  • opensc Debian 14 0.27.1-2

debian advisories DEBIAN-CVE-2026-10275

  • opensc SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Basesystem 15 SP7 0.22.0-150600.11.11.1
  • opensc SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES 15 SP5-LTSS +8 more 0.22.0-150400.3.17.1
  • opensc Linux Micro 6.1 0.24.0-slfo.1.1_4.1
  • opensc Linux Micro 6.0 0.24.0-6.1
  • opensc SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 0.13.0-3.36.1

suse advisories SUSE-SU-2026:2697-1SUSE-SU-2026:2678-1SUSE-SU-2026:2657-1SUSE-SU-2026:22139-1SUSE-SU-2026:22103-1

  • opensc openSUSE Leap 16.0 0.26.1-160000.5.1
  • opensc openSUSE Tumbleweed 0.27.1-2.1

opensuse advisories openSUSE-SU-2026:21873-1openSUSE-SU-2026:11022-1

  • opensc Azure Linux 3.0 0.27.1-2

azure linux advisories AZL-89376

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-10275 updated cvss 5.0

opensc: OpenSC: Buffer overflow in pkcs11-tool Key Generation Module

  • Red Hat Enterprise Linux 7 opensc
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 opensc Red Hat Enterprise Linux 9 opensc Red Hat Enterprise Linux 10 opensc
    affected: no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
5 mo ago

Exploit prediction

0.30% chance of exploitation in the next 30 days, higher than 22% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • pan.baidu.com https://pan.baidu.com/s/1nrZPKDz2eAcCpsaFiIRlrg referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 2.3 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
CNA 3.1 5.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
CNA 3.0 5.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
CNA 2.0 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C
CNA 4.0 1.3 CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CNA 3.1 5.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
CNA 2.0 5.1 AV:N/AC:H/Au:N/C:P/I:P/A:P

Affected products

  • n/a OpenSC

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.