What’s Vulnerable › Vulnerabilities
CVE-2026-103531: OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-01 · updated 2026-10-06
- Weakness: CWE-119
Description
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.
Affected products
- opensc: 0.27.0, 0.27.1
References
- https://github.com/OpenSC/OpenSC/
- https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c
- https://github.com/OpenSC/OpenSC/pull/3812
- https://vuldb.com/cve/CVE-2026-103531
- https://vuldb.com/submit/956910
- https://vuldb.com/vuln/412343
- https://vuldb.com/vuln/412343/cti
Get alerted when CVE-2026-103531 or the next vulnerability affects your stack