5.5Medium

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

OpenSC Published: (1 month ago)

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.

Weakness (CWE): CWE-121CWE-119

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
opensc opensc —
— OpenSC 0.27.0, 0.27.1

References and patches