CVE-2026-103531 Details
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.
A stack-based buffer overflow vulnerability has been identified in OpenSC versions through 0.27.1. The issue arises in the 'setcos_construct_fci_44' function within 'src/libopensc/card-setcos.c', where the function improperly handles attribute lengths, allowing for remote exploitation. The vulnerability was discovered using a fuzzing tool that simulated attacks by sending crafted responses that exploited the length handling of certain attributes.
Users are advised to update to the latest version of OpenSC, as the vulnerability has been patched in version 0.27.1.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 1, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OpenSC/OpenSC/ | [email protected] | Vendor |
| https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c | [email protected] | Source CodeVendor |
| https://github.com/OpenSC/OpenSC/pull/3812 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/cve/CVE-2026-103531 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/956910 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/412343 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/412343/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| OpenSC | <= 0.27.1 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 1, 2026 | New CVE Received | [email protected] |
Volerion