CVE-2026-103531 OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow
MediumCVSS 5.1
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
13 packages: 2 fixed, 10 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/opensc(Debian 12) | = 0.23.0-0.3; = 0.23.0-0.3+deb12u1; = 0.23.0-0.3+deb12u2; = 0.23.0-1 +16 more | No fix listed | No fix yet |
| debian/opensc(Debian 13) | = 0.26.1-2; = 0.26.1-3; = 0.27.0~rc1-1; = 0.27.0~rc2-1 +4 more | No fix listed | No fix yet |
| redhat/opensc(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/opensc(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/opensc(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/opensc(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/opensc(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux opensc(Azure Linux 3.0) | < 0.27.1-3 | 0.27.1-3 | Fixed |
| debian/opensc(Debian 14) | < 0.27.1-3; = 0.26.1-2; = 0.26.1-3; = 0.27.0~rc1-1 +3 more | 0.27.1-3 | Fixed |
| opensc | = 0.27.0; = 0.27.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/opensc(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/opensc(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/opensc(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/opensc(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| opensc | = 0.27.0 | No fix listed |
| opensc | = 0.27.1 | No fix listed |
| debian/opensc(Debian:12) | All versions | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-0.3 | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-0.3+deb12u1 | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-0.3+deb12u2 | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.23.0-2 | No fix listed |
| debian/opensc(Debian:12) | = 0.24.0~rc1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.25.0~rc1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.25.1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.25.1-2 | No fix listed |
| debian/opensc(Debian:12) | = 0.25.1-2.1 | No fix listed |
| debian/opensc(Debian:12) | = 0.26.0-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.26.1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.26.1-2 | No fix listed |
| debian/opensc(Debian:12) | = 0.26.1-3 | No fix listed |
| debian/opensc(Debian:12) | = 0.27.0~rc1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.27.0~rc2-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.27.1-1 | No fix listed |
| debian/opensc(Debian:12) | = 0.27.1-2 | No fix listed |
Show 21 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/opensc(Debian:12) | = 0.27.1-3 | No fix listed |
| debian/opensc(Debian:13) | All versions | No fix listed |
| debian/opensc(Debian:13) | = 0.26.1-2 | No fix listed |
| debian/opensc(Debian:13) | = 0.26.1-3 | No fix listed |
| debian/opensc(Debian:13) | = 0.27.0~rc1-1 | No fix listed |
| debian/opensc(Debian:13) | = 0.27.0~rc2-1 | No fix listed |
| debian/opensc(Debian:13) | = 0.27.1-1 | No fix listed |
| debian/opensc(Debian:13) | = 0.27.1-2 | No fix listed |
| debian/opensc(Debian:13) | = 0.27.1-3 | No fix listed |
| debian/opensc(Debian:14) | < 0.27.1-3 | 0.27.1-3 |
| debian/opensc(Debian:14) | = 0.26.1-2 | No fix listed |
| debian/opensc(Debian:14) | = 0.26.1-3 | No fix listed |
| debian/opensc(Debian:14) | = 0.27.0~rc1-1 | No fix listed |
| debian/opensc(Debian:14) | = 0.27.0~rc2-1 | No fix listed |
| debian/opensc(Debian:14) | = 0.27.1-1 | No fix listed |
| debian/opensc(Debian:14) | = 0.27.1-2 | No fix listed |
| ubuntu/opensc(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/opensc(Ubuntu:26.10) | All versions | No fix listed |
| azure linux opensc(Azure Linux:3.0) | < 0.27.1-3 | 0.27.1-3 |
References
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2544409 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product
- github.com patch
- github.com issue-tracking patch
- CVE-2026-103531 | CVE Analysis and Report third-party-advisory
- Submit #956910 | OpenSC >= 0.12.2 up to and including 0.27.1 (latest release, unfixed; fix approved in PR #3812, pending merge) Buffer Overflow (stack, CWE-121) third-party-advisory
- VDB-412343 | OpenSC card-setcos.c setcos_construct_fci_44 stack-based overflow technical-description vdb-entry
- VDB-412343 | CTI Indicators (IOB, IOC, IOA) permissions-required signature
- Debian Security Tracker CVE-2026-103531 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-90449 third-party-advisory