# CVE-2026-103531: OpenSC card-setcos.c setcos\_construct\_fci\_44 stack-based overflow

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Passive; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-121, CWE-119
- **Published:** 2026-10-01T00:45:15.812Z
- **Modified:** 2026-10-06T01:16:33.190Z

## Who should check

- Anyone running OpenSC 0.27.0; 0.27.1

## 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 and fixed versions

- OpenSC: 0.27.0; 0.27.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-103531. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-103531.md
Affected: OpenSC 0.27.0; 0.27.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for OpenSC: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-103531 being exploited?

There is no confirmed exploitation: CVE-2026-103531 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-103531?

Medium: CVSS 5.1 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-103531?

OpenSC 0.27.0; 0.27.1.

### Is there a fix for CVE-2026-103531?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-103531?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/OpenSC/OpenSC/pull/3812>
- patch: <https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c>
- article: <https://vuldb.com/vuln/412343>
- other: <https://vuldb.com/vuln/412343/cti>
- other: <https://vuldb.com/cve/CVE-2026-103531>
- other: <https://vuldb.com/submit/956910>
- other: <https://github.com/OpenSC/OpenSC/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-103531>

HTML: <https://flawdb.com/CVE-2026-103531> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-103531>
