| Name | CVE-2025-66215 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| opensc (PTS) | bullseye | 0.21.0-1 | vulnerable |
| bullseye (security) | 0.21.0-1+deb11u1 | vulnerable | |
| bookworm | 0.23.0-0.3+deb12u2 | vulnerable | |
| trixie | 0.26.1-2 | vulnerable | |
| forky, sid | 0.27.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| opensc | source | (unstable) | 0.27.0~rc1-1 |
[trixie] - opensc <no-dsa> (Minor issue)
[bookworm] - opensc <no-dsa> (Minor issue)
[bullseye] - opensc <postponed> (Minor issue)
https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5fc-cw56-hwp2
https://github.com/OpenSC/OpenSC/pull/3436
https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66215
Fixed by: https://github.com/OpenSC/OpenSC/commit/a4bbf8a631537a4c0083b264095ed1cd36d307ab (0.27.0-rc1)
Fixed by: https://github.com/OpenSC/OpenSC/commit/56bc5e9575965461d99a274be45d71c18ab6eae0 (0.27.0-rc1)