{"id":"CVE-2026-103531","revision":"6152c58f9cc14c73993dfb2fd30f85e8","records":[{"revision":"6152c58f9cc14c73993dfb2fd30f85e8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-103531","aliases":[],"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.","state":0,"publishedAt":"2026-10-01T00:45:15.812+00:00","modifiedAt":"2026-10-05T23:57:51.416+00:00","affected":[{"ecosystem":"Vendor product","name":"OpenSC","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"n/a\",\n                    \"product\": \"OpenSC\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0.27.0\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0.27.1\",\n                            \"status\": \"affected\"\n                        }\n                    ],\n                    \"cpes\": [\n                        \"cpe:2.3:a:opensc:opensc:*:*:*:*:*:*:*:*\"\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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","score":5.1,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"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","score":5.5,"severity":"MEDIUM"},{"system":"CVSS 3.0","vector":"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","score":5.5,"severity":"MEDIUM"},{"system":"CVSS 2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P/E:ND/RL:OF/RC:C","score":6.5,"severity":null}],"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/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-103531","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-103531","identifiers":["CVE-2026-103531"]},"retained":false,"historicalAffected":[]}],"coverage":[]}