Skip to content
OpenAdvisories
Medium · 5.5 CVE-2026-103531 EUVD-2026-90449GHSA-m2qg-x6vj-xmrg

OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow

Published Oct 1, 2026 · Updated Oct 5, 2026 · Assigned by VulDB

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 products

VendorProductAffectedFixed
— OpenSC 0.27.0, 0.27.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 opensc 0.27.1-3 —
Debian 13 opensc No fix yet —
Debian 12 opensc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 opensc No fix yet —
Ubuntu 26.04 LTS opensc No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS opensc No fix yet —
Ubuntu Pro 22.04 LTS opensc No fix yet —
Ubuntu Pro 20.04 LTS opensc No fix yet —
Ubuntu Pro 18.04 LTS opensc No fix yet —
Ubuntu Pro 16.04 LTS opensc No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 opensc 0.27.1-3 —

Advisories 1

References