# CVE-2026-103531: OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-10-01T00:45:15.812Z
- Modified: 2026-10-06T01:16:33.190Z
- Weaknesses: CWE-119, CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- OpenSC: 0.27.0; 0.27.1

## Every score

- VulDB: CVSS: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: CVSS: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: CVSS: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: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C`

## References

- <https://vuldb.com/vuln/412343> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/412343/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-103531> (third-party-advisory)
- <https://vuldb.com/submit/956910> (third-party-advisory)
- <https://github.com/OpenSC/OpenSC/pull/3812> (issue-tracking, patch)
- <https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c> (patch)
- <https://github.com/OpenSC/OpenSC/> (product)

## Sources

- CVE List: [CVE-2026-103531](https://www.cve.org/CVERecord?id=CVE-2026-103531), CVE Terms of Use, modified 2026-10-05
- NVD: [CVE-2026-103531](https://nvd.nist.gov/vuln/detail/CVE-2026-103531), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-103531 · Whole record: https://cve.day/CVE-2026-103531.json · Rebuilt by cve.day 2026-11-25T22:59:41.778Z
