CVE-2025-66215 OpenSC: Stack-buffer-overflow WRITE in card-oberthur
MediumCVSS 6.8
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
15 packages: 4 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 +15 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 +3 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-1 | 0.27.1-1 | Fixed |
| cbl-mariner opensc(CBL-Mariner 2.0) | < 0.23.0-6 | 0.23.0-6 | Fixed |
| debian/opensc(Debian 14) | < 0.27.0~rc1-1; = 0.26.1-2; = 0.26.1-3 | 0.27.0~rc1-1 | Fixed |
| opensc project opensc | < 0.27.0 | 0.27.0 | Fixed |
| opensc | = < 0.27.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner opensc(CBL-Mariner:2.0) | < 0.23.0-6 | 0.23.0-6 |
| azure linux opensc(Azure Linux:3.0) | < 0.27.1-1 | 0.27.1-1 |
| 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 |
| 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 |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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:14) | < 0.27.0~rc1-1 | 0.27.0~rc1-1 |
| debian/opensc(Debian:14) | = 0.26.1-2 | No fix listed |
| debian/opensc(Debian:14) | = 0.26.1-3 | No fix listed |
| opensc | = < 0.27.0 | No fix listed |
| ubuntu/opensc(Ubuntu:22.04) | All versions | No fix listed |
| 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 |
| 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 |
| opensc project opensc | < 0.27.0 | 0.27.0 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-66215 vendor-advisory
- 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
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2453119 issue-tracking
- nvd.nist.gov