{"id":"CVE-2026-103531","state":"PUBLISHED","title":"OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow","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.","publishedAt":"2026-10-01T00:45:15.812Z","updatedAt":"2026-10-05T23:57:51.416Z","severity":{"score":5.1,"label":"Medium","version":"4.0","vector":"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","source":"VulDB"},"assigner":"VulDB","products":["n/a OpenSC"],"affected":[{"vendor":"n/a","product":"OpenSC","versions":[{"version":"0.27.0","status":"affected"},{"version":"0.27.1","status":"affected"}],"cpes":["cpe:2.3:a:opensc:opensc:*:*:*:*:*:*:*:*"]}],"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/"],"weaknesses":["CWE-121","CWE-119"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/103xxx/CVE-2026-103531.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-103531","state":"PUBLISHED","datePublished":"2026-10-01T00:45:15.812Z","dateUpdated":"2026-10-05T23:57:51.416Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2026-09-30T19:06:48.961Z"},"containers":{"cna":{"title":"OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow","descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"OpenSC","versions":[{"version":"0.27.0","status":"affected"},{"version":"0.27.1","status":"affected"}],"cpes":["cpe:2.3:a:opensc:opensc:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://vuldb.com/vuln/412343","name":"VDB-412343 | OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/412343/cti","name":"VDB-412343 | CTI Indicators (IOB, IOC, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-103531","name":"CVE-2026-103531 | CVE Analysis and Report","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/956910","name":"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)","tags":["third-party-advisory"]},{"url":"https://github.com/OpenSC/OpenSC/pull/3812","tags":["issue-tracking","patch"]},{"url":"https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c","tags":["patch"]},{"url":"https://github.com/OpenSC/OpenSC/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.1,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":5.5,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_0":{"version":"3.0","baseScore":5.5,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV2_0":{"version":"2.0","baseScore":6.5,"vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-121","type":"CWE","lang":"en","description":"Stack-based Buffer Overflow"}]},{"descriptions":[{"cweId":"CWE-119","type":"CWE","lang":"en","description":"Memory Corruption"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-10-01T00:45:15.812Z"},"timeline":[{"time":"2026-09-30T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2026-09-30T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-09-30T21:11:57.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"zzxzzb (VulDB User)","type":"reporter"}],"tags":["x_open-source"],"x_generator":["VulDB PVTS v202610"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-05T23:57:41.325085Z","id":"CVE-2026-103531","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-05T23:57:51.416Z"}}]}}}