CVE-2026-103531
published medium CVSS 4.0 · 5.1OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | OpenSC0.27.0 · 0.27.1 | Affected | Not stated | VulDB |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulDB · cna | 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 | — |
| 3.0 | 5.5 | medium | VulDB · cna | 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 | — |
| 2.0 | 6.5 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | OpenSC | 0.27.0 (affected)0.27.1 (affected) | VulDB · cna |
Weaknesses
2- CWE-121 Stack-based Buffer Overflow
- CWE-119 Memory Corruption
References
7- https://github.com/OpenSC/OpenSC/
- https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c
- https://github.com/OpenSC/OpenSC/pull/3812
- CVE-2026-103531 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-103531
- 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) https://vuldb.com/submit/956910
- VDB-412343 | OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow https://vuldb.com/vuln/412343
- VDB-412343 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/412343/cti
Provider assertions
2VulDB · cna
OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7faa6cd3e3d3c8077a313e700b1187132bc7ffaa349bccb2c8328297556f5087
- Ingested
- 06 Oct 2026, 04:47:35 UTC
- Source record
- Official CVE record