CVEfocus › CVE database › CVE-2026-103531

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

CVSS 5.5 MediumEPSS 0.3% (higher than 20% of CVEs)Published 2026-10-01Updated 2026-10-05Assigner: VulDB

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.

CWE-119CWE-121

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
13Fix pending
1Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10openscFix pendingUBUNTU-CVE-2026-103531
Ubuntu 26.04openscUnder investigationUBUNTU-CVE-2026-103531
Ubuntu 24.04openscFix pendingUBUNTU-CVE-2026-103531
Ubuntu 22.04openscFix pendingUBUNTU-CVE-2026-103531
Ubuntu 20.04openscFix pendingUBUNTU-CVE-2026-103531
Ubuntu 18.04openscFix pendingUBUNTU-CVE-2026-103531
Ubuntu 16.04openscFix pendingUBUNTU-CVE-2026-103531
Debian 14openscFixed0.27.1-3DEBIAN-CVE-2026-103531
Debian 13openscFix pendingDEBIAN-CVE-2026-103531
Debian 12openscFix pendingDEBIAN-CVE-2026-103531
Red Hat Enterprise Linux 10openscFix pending
Fix deferred
Red Hat Enterprise Linux 10opensc-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9openscFix pending
Fix deferred
Red Hat Enterprise Linux 8openscFix pending
Fix deferred
Red Hat Enterprise Linux 7openscFix pending
Fix deferred

What the vendor says

As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.