CVE catalog

CVE-2026-40510

OpenSC before 0.27.0-rc1, fixed in commit 3f24f0b, contains a stack buffer overflow vulnerability in piv_process_history() in src/libopensc/card-piv.c that allows physically present attackers to trigg

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:3.1/AV:P/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 27, 2026

A flaw was found in OpenSC. A physically present attacker can exploit a stack buffer overflow vulnerability in the `piv_process_history()` function by presenting a specially crafted Personal Identity Verification (PIV) smart card or USB device. This can lead to memory corruption within the system, potentially causing instability or unexpected behavior. opensc: OpenSC: Memory corruption via crafted PIV smart card The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
CpeopenscNot reported0.27.0fixed
Suseopensclinux enterprise server 16.00.26.1-160000.4.1fixed
Suseopensclinux enterprise server for sap applications 16.00.26.1-160000.4.1fixed
Suseopensclinux enterprise server 16.00.26.1-160000.4.1fixed
Suseopensclinux enterprise server for sap applications 16.00.26.1-160000.4.1fixed
Suseopensclinux micro 6.20.26.1-160000.4.1fixed
Suseopensclinux micro 6.10.24.0-slfo.1.1_5.1fixed
Suseopensclinux enterprise server ltss extended security 12 sp50.13.0-3.39.1fixed
Suseopensclinux enterprise module for basesystem 15 sp70.22.0-150600.11.14.1fixed
Suseopensclinux enterprise micro 5.30.22.0-150400.3.20.1fixed
Suseopensclinux enterprise micro 5.40.22.0-150400.3.20.1fixed
Suseopensclinux enterprise micro 5.50.22.0-150400.3.20.1fixed
Suseopensclinux micro 6.00.24.0-7.1fixed
Opensuseopenscleap 16.00.26.1-160000.4.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
CpeopensccpeNot reported0.27.0Not reportedNot reportedNot reported
Suseopenscrpmlinux enterprise server 16.00.26.1-160000.4.1Not reportedSUSE-SU-2026:23697-1Not reported
Suseopenscrpmlinux enterprise server for sap applications 16.00.26.1-160000.4.1Not reportedSUSE-SU-2026:23697-1Not reported
Suseopenscrpmlinux enterprise server 16.00.26.1-160000.4.1Not reportedSUSE-SU-2026:23717-1Not reported
Suseopenscrpmlinux enterprise server for sap applications 16.00.26.1-160000.4.1Not reportedSUSE-SU-2026:23717-1Not reported
Suseopenscrpmlinux micro 6.20.26.1-160000.4.1Not reportedSUSE-SU-2026:23543-1Not reported
Suseopenscrpmlinux micro 6.10.24.0-slfo.1.1_5.1Not reportedSUSE-SU-2026:23527-1Not reported
Suseopenscrpmlinux enterprise server ltss extended security 12 sp50.13.0-3.39.1Not reportedSUSE-SU-2026:4108-1Not reported
Suseopenscrpmlinux enterprise module for basesystem 15 sp70.22.0-150600.11.14.1Not reportedSUSE-SU-2026:4123-1Not reported
Suseopenscrpmlinux enterprise micro 5.30.22.0-150400.3.20.1Not reportedSUSE-SU-2026:4122-1Not reported
Suseopenscrpmlinux enterprise micro 5.40.22.0-150400.3.20.1Not reportedSUSE-SU-2026:4122-1Not reported
Suseopenscrpmlinux enterprise micro 5.50.22.0-150400.3.20.1Not reportedSUSE-SU-2026:4122-1Not reported
Suseopenscrpmlinux micro 6.00.24.0-7.1Not reportedSUSE-SU-2026:23478-1Not reported
Opensuseopenscrpmleap 16.00.26.1-160000.4.1Not reportedOPENSUSE-SU-2026:21820-1Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References