CVE-2026-103531: OpenSC · Stack-based Buffer Overflow
Affects OpenSCSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium.
Data as of 14 Nov 2026, 20:43 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:XExploitation evidence
Disclosed: evidence found.
CVE published 1 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 14 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| OpenSC | Affected
| Fixed in– |
GitHubopensc/OpenSCpkg:github/opensc/OpenSCOther threats | Affected
| Fixed in– |
CPE configurations (1)
cpe:2.3:a:opensc:opensc:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch identified by commit ad730304052937c32b4eb489a06835ac6123632c is available and should be applied to OpenSC versions 0.27.0 and 0.27.1 to remediate this vulnerability. Applying this patch is the best practice to resolve the issue.
Description
CVE-2026-103531 is a medium severity stack-based buffer overflow vulnerability in OpenSC versions 0.27.0 and 0.27.1. The flaw exists in the function setcos_construct_fci_44 within src/libopensc/card-setcos.c. An attacker can remotely trigger this vulnerability by manipulating the argument type_attr, potentially causing a buffer overflow on the stack. A patch identified by commit ad730304052937c32b4eb489a06835ac6123632c is available to address this issue.
References
- vuldb.com/vuln/412343 (opens in a new tab)
- vuldb.com/vuln/412343/cti (opens in a new tab)
- vuldb.com/cve/CVE-2026-103531 (opens in a new tab)
- vuldb.com/submit/956910 (opens in a new tab)
- github.com/OpenSC/OpenSC/pull/3812 (opens in a new tab)
- github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c (opens in a new tab)
- github.com/OpenSC/OpenSC/ (opens in a new tab)