CVE catalog

CVE-2026-103531

A flaw has been found in OpenSC up to 0.27.1. The impacted element is the function setcos_construct_fci_44 of the file src/libopensc/card-setcos.c. Executing a manipulation of the argument type_attr c

[CVE catalog]

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

A flaw has been found in OpenSC up to 0.27.1. The impacted element is the function setcos_construct_fci_44 of the file src/libopensc/card-setcos.c. Executing a manipulation of the argument type_attr can lead to stack-based buffer overflow. The attack can be launched remotely. This patch is called ad730304052937c32b4eb489a06835ac6123632c. It is best practice to apply a patch to resolve 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

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianopenscsourcesid0.27.1-3not yet assignedNot reported[1149970]
Debianopenscsourceforky0.27.1-3not yet assignedNot reported[1149970]
Debianopenscsourcetrixie(unfixed)not yet assignedNot reported[1149970]
Debianopenscsourcebookworm(unfixed)not yet assignedNot reported[1149970]

[Debian bug #1149970]

Notes

[trixie] 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

Observed:

References