CVE-2026-103531
5.1medium
OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow
- Severity
- 5.1medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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
| Product or package | Versions | Reported by |
|---|---|---|
| OpenSC | 0.27.0, 0.27.1 | CVE List |
All scores
| VulDB | 5.1medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X |
| VulDB | 5.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C |
| VulDB | 5.5medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C |
Classification
References
| https://vuldb.com/vuln/412343 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/412343/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-103531 | third-party-advisory | |
| https://vuldb.com/submit/956910 | third-party-advisory | |
| https://github.com/OpenSC/OpenSC/pull/3812 | issue-tracking, patch | |
| https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c | patch | |
| https://github.com/OpenSC/OpenSC/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-103531 changed 2026-10-05 | CVE Terms of Use |
| NVD | CVE-2026-103531 changed 2026-10-06 | Public domain |