Vulnerability · Published Oct 1, 2026 · Assigned by VulDB

CVE-2026-103531OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow

Medium 5.5

In plain English

A medium-severity stack buffer overflow in OpenSC. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.2%top 90.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12openscno fix listedDEBIAN-CVE-2026-103531
Debian:13openscno fix listedDEBIAN-CVE-2026-103531
Debian:14opensc0.27.1-3DEBIAN-CVE-2026-103531
Ubuntu:26.04:LTSopenscno fix listedUBUNTU-CVE-2026-103531
Ubuntu:26.10openscno fix listedUBUNTU-CVE-2026-103531

Affected products (as reported)

VendorProductVersions
n/a OpenSC 0.27.00.27.1

Weakness: CWE-121, CWE-119 · 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

References