UBUNTU-CVE-2026-103531 (CVE-2026-103531)
Vulnerability from osv_ubuntu – Published: 2026-10-02 00:00 – Updated: 2026-10-02 00:00 – Source website
VLAI
Details
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.
Severity
5.5 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "opensc",
"binary_version": "0.15.0-1ubuntu1+esm3"
},
{
"binary_name": "opensc-pkcs11",
"binary_version": "0.15.0-1ubuntu1+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "opensc",
"purl": "pkg:deb/ubuntu/opensc@0.15.0-1ubuntu1+esm3?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.15.0-1ubuntu1",
"0.15.0-1ubuntu1+esm1",
"0.15.0-1ubuntu1+esm2",
"0.15.0-1ubuntu1+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "opensc",
"binary_version": "0.17.0-3ubuntu0.1~esm3"
},
{
"binary_name": "opensc-pkcs11",
"binary_version": "0.17.0-3ubuntu0.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "opensc",
"purl": "pkg:deb/ubuntu/opensc@0.17.0-3ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.17.0-1",
"0.17.0-2",
"0.17.0-2build1",
"0.17.0-3",
"0.17.0-3ubuntu0.1~esm1",
"0.17.0-3ubuntu0.1~esm2",
"0.17.0-3ubuntu0.1~esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "opensc",
"binary_version": "0.20.0-3ubuntu0.1~esm4"
},
{
"binary_name": "opensc-pkcs11",
"binary_version": "0.20.0-3ubuntu0.1~esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "opensc",
"purl": "pkg:deb/ubuntu/opensc@0.20.0-3ubuntu0.1~esm4?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.19.0-2",
"0.20.0-1",
"0.20.0-2",
"0.20.0-3",
"0.20.0-3ubuntu0.1~esm1",
"0.20.0-3ubuntu0.1~esm2",
"0.20.0-3ubuntu0.1~esm3",
"0.20.0-3ubuntu0.1~esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "opensc",
"binary_version": "0.22.0-1ubuntu2.1+esm1"
},
{
"binary_name": "opensc-pkcs11",
"binary_version": "0.22.0-1ubuntu2.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "opensc",
"purl": "pkg:deb/ubuntu/opensc@0.22.0-1ubuntu2.1+esm1?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.21.0-1ubuntu1",
"0.22.0-1ubuntu2",
"0.22.0-1ubuntu2+esm1",
"0.22.0-1ubuntu2.1",
"0.22.0-1ubuntu2.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "opensc",
"binary_version": "0.25.0~rc1-1ubuntu0.2+esm1"
},
{
"binary_name": "opensc-pkcs11",
"binary_version": "0.25.0~rc1-1ubuntu0.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "opensc",
"purl": "pkg:deb/ubuntu/opensc@0.25.0~rc1-1ubuntu0.2+esm1?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.23.0-1ubuntu4",
"0.24.0~rc1-1",
"0.25.0~rc1-1",
"0.25.0~rc1-1build1",
"0.25.0~rc1-1build2",
"0.25.0~rc1-1ubuntu0.1~esm1",
"0.25.0~rc1-1ubuntu0.1",
"0.25.0~rc1-1ubuntu0.2",
"0.25.0~rc1-1ubuntu0.2+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "opensc",
"binary_version": "0.27.0~rc1-1"
},
{
"binary_name": "opensc-pkcs11",
"binary_version": "0.27.0~rc1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "opensc",
"purl": "pkg:deb/ubuntu/opensc@0.27.0~rc1-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.26.1-3",
"0.26.1-3ubuntu1",
"0.27.0~rc1-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-103531",
"modified": "2026-10-02T00:00:00Z",
"published": "2026-10-02T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-103531"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-103531"
},
{
"type": "REPORT",
"url": "https://github.com/OpenSC/OpenSC/pull/3812"
},
{
"type": "REPORT",
"url": "https://github.com/OpenSC/OpenSC/"
},
{
"type": "REPORT",
"url": "https://github.com/OpenSC/OpenSC/commit/ad730304052937c32b4eb489a06835ac6123632c"
},
{
"type": "REPORT",
"url": "https://vuldb.com/cve/CVE-2026-103531"
},
{
"type": "REPORT",
"url": "https://vuldb.com/submit/956910"
},
{
"type": "REPORT",
"url": "https://vuldb.com/vuln/412343"
},
{
"type": "REPORT",
"url": "https://vuldb.com/vuln/412343/cti"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-103531"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…