
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
- Severity
- Medium · CVSS 6.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | opensc | sid | 0.27.1-3 | fixed |
| Debian | opensc | forky | 0.27.1-3 | fixed |
| Debian | opensc | trixie | 0.26.1-2 | vulnerable |
| Debian | opensc | bookworm | 0.23.0-0.3+deb12u2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | opensc | source | sid | 0.27.1-3 | not yet assigned | Not reported | [1149970] |
| Debian | opensc | source | forky | 0.27.1-3 | not yet assigned | Not reported | [1149970] |
| Debian | opensc | source | trixie | (unfixed) | not yet assigned | Not reported | [1149970] |
| Debian | opensc | source | bookworm | (unfixed) | not yet assigned | Not reported | [1149970] |
Notes
[trixie] opensc: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [opensc]Affected
Details (2)
0.23.0-0.3+deb12u2· amd64 · bookwormAffected
nvd · opensc · debian · bookworm; nvd · opensc · debian · 12
0.23.0-0.3+deb12u2· arm64 · bookwormAffected
nvd · opensc · debian · bookworm; nvd · opensc · debian · 12
- [opensc-pkcs11]Affected
Source package: [opensc]
Details (2)
0.23.0-0.3+deb12u2· amd64 · bookwormAffected
nvd · opensc · debian · bookworm; nvd · opensc · debian · 12
0.23.0-0.3+deb12u2· arm64 · bookwormAffected
nvd · opensc · debian · bookworm; nvd · opensc · debian · 12
[Debian 13 (Trixie)]
- [opensc]Affected
Details (2)
0.26.1-2· amd64 · trixieAffected
nvd · opensc · debian · 13
0.26.1-2· arm64 · trixieAffected
nvd · opensc · debian · 13
- [opensc-pkcs11]Affected
Source package: [opensc]
Details (2)
0.26.1-2· amd64 · trixieAffected
nvd · opensc · debian · 13
0.26.1-2· arm64 · trixieAffected
nvd · opensc · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-103531]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-103531]
- [https://security-tracker.debian.org/tracker/CVE-2026-103531]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-103531.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-3682.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]