{"id":"DEBIAN-CVE-2026-103531","details":"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.","modified":"2026-10-10T05:00:08.107490045Z","published":"2026-10-01T01:16:35.963Z","upstream":["CVE-2026-103531"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-103531"}],"affected":[{"package":{"name":"opensc","ecosystem":"Debian:12","purl":"pkg:deb/debian/opensc?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.23.0-0.3","0.23.0-0.3+deb12u1","0.23.0-0.3+deb12u2","0.23.0-1","0.23.0-2","0.24.0~rc1-1","0.25.0~rc1-1","0.25.1-1","0.25.1-2","0.25.1-2.1","0.26.0-1","0.26.1-1","0.26.1-2","0.26.1-3","0.27.0~rc1-1","0.27.0~rc2-1","0.27.1-1","0.27.1-2","0.27.1-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-103531.json"}},{"package":{"name":"opensc","ecosystem":"Debian:13","purl":"pkg:deb/debian/opensc?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.26.1-2","0.26.1-3","0.27.0~rc1-1","0.27.0~rc2-1","0.27.1-1","0.27.1-2","0.27.1-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-103531.json"}},{"package":{"name":"opensc","ecosystem":"Debian:14","purl":"pkg:deb/debian/opensc?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.1-3"}]}],"versions":["0.26.1-2","0.26.1-3","0.27.0~rc1-1","0.27.0~rc2-1","0.27.1-1","0.27.1-2"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-103531.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}