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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-01 · Modified: 2026-10-05
- Aliases: UBUNTU-CVE-2026-103531, DEBIAN-CVE-2026-103531
- Record: https://cvemate.com/vulnerability/CVE-2026-103531 · JSON: https://cvemate.com/vulnerability/CVE-2026-103531/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v2.0, CVE.org) AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C
- EPSS: 0.194%, percentile 9.575%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian opensc (Debian): All versions (No fix recorded) \| \< 0.23.0-0.3+deb12u3 \| \< 0.27.1-3
- ubuntu opensc (Ubuntu): All versions (No fix recorded)

## References

- <https://vuldb.com/vuln/412343>
- <https://vuldb.com/vuln/412343/cti>
- <https://vuldb.com/cve/CVE-2026-103531>
- <https://vuldb.com/submit/956910>
- <https://github.com/OpenSC/OpenSC/pull/3812>
- <https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c>
- <https://github.com/OpenSC/OpenSC/>
- <https://ubuntu.com/security/CVE-2026-103531>
- <https://www.cve.org/CVERecord?id=CVE-2026-103531>
- <https://security-tracker.debian.org/tracker/CVE-2026-103531>

---

Data as of 2026-12-05T13:33:37.600Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
