{"id":"CVE-2026-103531","title":"A flaw has been found in OpenSC up to 0.27.1","summary":"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 overflo…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","cwe":["CWE-119","CWE-121","CWE-787"],"vendor":"Red Hat","product":"OpenSC","affected":["OpenSC 0.27.0","OpenSC 0.27.1"],"published":"2026-10-01","updated":"2026-10-06","sourceUpdated":"2026-10-06T01:16:33.190","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-103531","references":[{"url":"https://github.com/OpenSC/OpenSC/","label":"cna@vuldb.com"},{"url":"https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c","label":"cna@vuldb.com"},{"url":"https://github.com/OpenSC/OpenSC/pull/3812","label":"cna@vuldb.com"},{"url":"https://vuldb.com/cve/CVE-2026-103531","label":"cna@vuldb.com"},{"url":"https://vuldb.com/submit/956910","label":"cna@vuldb.com"},{"url":"https://vuldb.com/vuln/412343","label":"cna@vuldb.com"},{"url":"https://vuldb.com/vuln/412343/cti","label":"cna@vuldb.com"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-103531.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-103531"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2544409"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-103531"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-103531"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-05T23:57:41.325085Z"},"epss":0.00194,"epssPercentile":0.09054,"scores":{"nvd":5.5,"vendor":6.8,"cna":5.5},"ingestedAt":"2026-10-01T01:34:15.477Z","slug":"CVE-2026-103531","body":"## Overview\n\nA 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-10-01 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-103531.json)","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}