CVE catalog

CVE-2026-10275

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 c

[CVE catalog]

Severity
High · CVSS 7CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.30% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianopenscsid0.27.1-3fixed
Debianopenscforky0.27.1-3fixed
Debianopensctrixie0.26.1-2vulnerable
Debianopenscbookworm0.23.0-0.3+deb12u2vulnerable
CpeopenscNot reportedNot reportedvulnerable
Opensuseopenscleap 16.00.26.1-160000.5.1fixed
Suseopensclinux micro 6.10.24.0-slfo.1.1_4.1fixed
Suseopensclinux micro 6.00.24.0-6.1fixed
Opensuseopensctumbleweed0.27.1-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianopenscsourcesid0.27.1-2not yet assignedNot reported[1139246]
Debianopenscsourceforky0.27.1-2not yet assignedNot reported[1139246]
Debianopenscsourcetrixie(unfixed)not yet assignedNot reported[1139246]
Debianopenscsourcebookworm(unfixed)not yet assignedNot reported[1139246]
Opensuseopenscrpmleap 16.00.26.1-160000.5.1Not reportedOPENSUSE-SU-2026:21873-1Not reported
Suseopenscrpmlinux micro 6.10.24.0-slfo.1.1_4.1Not reportedSUSE-SU-2026:22139-1Not reported
Suseopenscrpmlinux micro 6.00.24.0-6.1Not reportedSUSE-SU-2026:22103-1Not reported
Opensuseopenscrpmtumbleweed0.27.1-2.1Not reportedOPENSUSE-SU-2026:11022-1Not reported

[Debian bug #1139246]

Notes

[trixie] opensc: Minor issue [bookworm] opensc: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [opensc]Affected
    Details (2)
    • 0.23.0-0.3+deb12u2 · amd64 · bookworm

      Affected

      nvd · opensc · debian · bookworm; nvd · opensc · debian · 12

    • 0.23.0-0.3+deb12u2 · arm64 · bookworm

      Affected

      nvd · opensc · debian · bookworm; nvd · opensc · debian · 12

  • [opensc-pkcs11]Affected

    Source package: [opensc]

    Details (2)
    • 0.23.0-0.3+deb12u2 · amd64 · bookworm

      Affected

      nvd · opensc · debian · bookworm; nvd · opensc · debian · 12

    • 0.23.0-0.3+deb12u2 · arm64 · bookworm

      Affected

      nvd · opensc · debian · bookworm; nvd · opensc · debian · 12

[Debian 13 (Trixie)]

  • [opensc]Affected
    Details (2)
    • 0.26.1-2 · amd64 · trixie

      Affected

      nvd · opensc · debian · 13

    • 0.26.1-2 · arm64 · trixie

      Affected

      nvd · opensc · debian · 13

  • [opensc-pkcs11]Affected

    Source package: [opensc]

    Details (2)
    • 0.26.1-2 · amd64 · trixie

      Affected

      nvd · opensc · debian · 13

    • 0.26.1-2 · arm64 · trixie

      Affected

      nvd · opensc · debian · 13

[openSUSE Tumbleweed]

  • Source package: [opensc]

    Details (1)
    • 0.27.1-2.3 · noarch · tumbleweed

      Unknown · Fixed: 0.27.1-2.1

      Version impact unknown

      nvd · opensc · opensuse · tumbleweed

  • [opensc]Fixed

    Source package: [opensc]

    Details (1)
    • 0.27.1-2.3 · x86_64 · tumbleweed

      Fixed · Fixed: 0.27.1-2.1

      nvd · opensc · opensuse · tumbleweed

Observed:

References