Description
OpenSC before 0.11.5 uses weak permissions (ADMIN file control information of 00) for the 5015 directory on smart cards and USB crypto tokens running Siemens CardOS M4, which allows physically proximate attackers to change the PIN.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | opensc | 0.11.4-4 | — |
| Debian 13 | opensc | 0.11.4-4 | — |
| Debian 12 | opensc | 0.11.4-4 | — |
| Debian 4.0 | opensc | 0.11.1-2etch2 | DSA-1627-2 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | opensc | 0.21.0-2.2 | openSUSE-SU-2024:11123-1 |
Advisories 2
- DSA-1627-2 opensc - smart card vulnerability Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11123-1 opensc-0.21.0-2.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 30473 vdb-entry
- 31330 third-party-advisory
- 34362 third-party-advisory
- MDVSA-2008:183 vendor-advisory
- http://www.opensc-project.org/security.html
- 33115 third-party-advisory
- SUSE-SR:2009:004 vendor-advisory
- 31360 third-party-advisory
- FEDORA-2009-2267 vendor-advisory
- DSA-1627 vendor-advisory
- [opensc-announce] 20080731 OpenSC Security Vulnerability and new Versions of OpenSC, OpenCT, LibP11, Pam_P11, Engine_PKCS11 mailing-list
- 32099 third-party-advisory
- SUSE-SR:2008:019 vendor-advisory
- GLSA-200812-09 vendor-advisory
- opensc-smartcard-cryptotoken-weak-security(44140) vdb-entry