CVE-2026-103531
OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow
- State
- Published
- Severity
- 5.1 Medium
- Published
- Oct 1, 2026
- Updated
- Oct 5, 2026
- Reserved
- Sep 30, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.1 Medium | 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 |
| 3.1 | 5.5 Medium | 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 |
| 3.0 | 5.5 Medium | 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 |
| 2.0 | 6.5 Medium | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
OpenSCn/a |
|
References
- VDB-412343 | OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflowvdb-entrytechnical-description
- VDB-412343 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-103531 | CVE Analysis and Reportthird-party-advisory
- Submit #956910 | OpenSC >= 0.12.2 up to and including 0.27.1 (latest release, unfixed; fix approved in PR #3812, pending merge) Buffer Overflow (stack, CWE-121)third-party-advisory
- https://github.com/OpenSC/OpenSC/pull/3812issue-trackingpatch
- https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632cpatch
- https://github.com/OpenSC/OpenSC/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.