CVE-2025-66215 Details
Description
OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.
A stack-buffer-overflow vulnerability has been identified in the OpenSC smart card tools and middleware, specifically within the card-oberthur driver, prior to version 0.27.0. This vulnerability allows an attacker with physical access to the computer to cause a write overflow by using a crafted USB device or smart card that delivers specially tailored responses to the APDUs. The issue has been patched in version 0.27.0.
Users can upgrade to OpenSC version 0.27.0 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 31, 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/commit/efd1d479832141bcf705c2f47655ada4d5f92f5d | [email protected] | Patch |
| https://github.com/OpenSC/OpenSC/pull/3436 | [email protected] | Issue TrackingPatch |
| https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5fc-cw56-hwp2 | [email protected] | PatchVendor Advisory |
| https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66215 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| opensc project opensc | < 0.27.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 1, 2026 | Initial Analysis | [email protected] |
| Mar 30, 2026 | New CVE Received | [email protected] |