3.8low
OpenSC: Stack-buffer-overflow WRITE in card-oberthur
- Severity
- 3.8low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OpenSC OpenSC | < 0.27.0 | CVE List |
| opensc_project opensc | before 0.27.0 | NVD |
All scores
| GitHub_M | 3.8low CVSS:3.1 | CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 6.8medium CVSS:3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
OpenSC es herramientas y middleware de código abierto para tarjetas inteligentes. Antes de la versión 0.27.0, un atacante con acceso físico al ordenador en el momento en que el usuario o el administrador utiliza un token puede causar una escritura de desbordamiento de búfer de pila en card-oberthur. El ataque requiere un dispositivo USB o tarjeta inteligente especialmente diseñado que presentaría al sistema respuestas especialmente diseñadas a las APDU. Este problema ha sido parcheado en la versión 0.27.0.
References
| https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5fc-cw56-hwp2 | patch, vendor-advisory | |
| https://github.com/OpenSC/OpenSC/pull/3436 | issue-tracking, patch | |
| https://github.com/OpenSC/OpenSC/commit/efd1d479832141bcf705c2f47655ada4d5f92f5d | patch | |
| https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66215 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66215 changed 2026-03-31 | CVE Terms of Use |
| NVD | CVE-2025-66215 changed 2026-06-17 | Public domain |