medium5.5
CVE-2026-103531
A flaw has been found in OpenSC up to 0.27.1.
Impact
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
| Product | Affected versions |
|---|---|
| OpenSC | before 0.27.1. |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- 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