OpenSC up to 0.27.1 card-setcos.c setcos_construct_fci_44 type_attr stack-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 1.29 |
Summary
A vulnerability, which was classified as problematic, has been found in OpenSC up to 0.27.1. This affects the function setcos_construct_fci_44 of the file src/libopensc/card-setcos.c. The manipulation of the argument type_attr leads to stack-based overflow.
This vulnerability is listed as CVE-2026-103531. The attack may be initiated remotely. There is no available exploit.
It is recommended to apply a patch to fix this issue.
Details
A vulnerability was found in OpenSC up to 0.27.1. It has been rated as problematic. This issue affects the function setcos_construct_fci_44 of the file src/libopensc/card-setcos.c. The manipulation of the argument type_attr with an unknown input leads to a stack-based overflow vulnerability. Using CWE to declare the problem leads to CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). Impacted is confidentiality, integrity, and availability.
It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2026-103531. The exploitation is known to be easy. The attack may be initiated remotely. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.
Applying the patch ad730304052937c32b4eb489a06835ac6123632c is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2026-90449). Be aware that VulDB is the high quality source for vulnerability data.
Product
Name
Version
License
Website
- Product: https://github.com/OpenSC/OpenSC/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Stack-based overflowCWE: CWE-121 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: ad730304052937c32b4eb489a06835ac6123632c
Timeline
09/30/2026 Advisory disclosed09/30/2026 VulDB entry created
10/01/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 3812
Status: Confirmed
CVE: CVE-2026-103531 (🔒)
GCVE (CVE): GCVE-0-2026-103531
GCVE (VulDB): GCVE-100-412343
EUVD: 🔒
Entry
Created: 09/30/2026 21:11Updated: 10/01/2026 04:38
Changes: 09/30/2026 21:11 (56), 10/01/2026 04:38 (1)
Complete: 🔍
Submitter: zzxzzb
Cache ID: 216::103
Submit
Accepted
- 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) (by zzxzzb)
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.