CVEfocus › CVE database › CVE-2026-10275

CVE-2026-10275OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow

CVSS 5.0 MediumEPSS 0.5% (higher than 34% of CVEs)Published 2026-06-01Updated 2026-06-01Assigner: VulDB

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.

CWE-119CWE-120

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

1Fixed
12Fix pending
1Under investigation
2Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10openscFix pendingUBUNTU-CVE-2026-10275
Ubuntu 26.04openscUnder investigationUBUNTU-CVE-2026-10275
Ubuntu 25.10openscWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-10275
Ubuntu 24.04openscFix pendingUBUNTU-CVE-2026-10275
Ubuntu 22.04openscFix pendingUBUNTU-CVE-2026-10275
Ubuntu 20.04openscFix pendingUBUNTU-CVE-2026-10275
Ubuntu 18.04openscFix pendingUBUNTU-CVE-2026-10275
Ubuntu 16.04openscFix pendingUBUNTU-CVE-2026-10275
Debian 14openscFixed0.27.1-2DEBIAN-CVE-2026-10275
Debian 13openscFix pendingDEBIAN-CVE-2026-10275
Debian 12openscFix pendingDEBIAN-CVE-2026-10275
Red Hat Enterprise Linux 10openscFix pending
Fix deferred
Red Hat Enterprise Linux 10opensc-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9openscFix pending
Fix deferred
Red Hat Enterprise Linux 8openscFix pending
Fix deferred
Red Hat Enterprise Linux 7openscWill 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.

Vendor advisories:

References

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.