Description
Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places that could potentially crash programs using the library.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | opensc | opensc 0.22.0 | — |
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.22.0-1 | — |
| Debian 13 | opensc | 0.22.0-1 | — |
| Debian 12 | opensc | 0.22.0-1 | — |
| Debian 11 | opensc | 0.21.0-1+deb11u1 | DLA-4004-1 |
| Debian 10 | opensc | 0.19.0-1+deb10u2 | DLA-3463-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | opensc | 0.25.0~rc1-1ubuntu0.1~esm1 | USN-7346-1 |
| Ubuntu Pro 22.04 LTS | opensc | 0.22.0-1ubuntu2+esm1 | USN-7346-1 |
| Ubuntu Pro 20.04 LTS | opensc | 0.20.0-3ubuntu0.1~esm4 | USN-7346-3, USN-7346-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | opensc | 0.17.0-3ubuntu0.1~esm2 | USN-7346-1 |
| Ubuntu Pro 16.04 LTS | opensc | 0.15.0-1ubuntu1+esm2 | USN-7346-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | opensc | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SLES 15 SP1 | opensc | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SLES 15 | opensc | 0.18.0-150000.3.23.1 | SUSE-SU-2022:1041-1 |
| SLES 12 SP5 | opensc | 0.13.0-3.19.1 | SUSE-SU-2023:4065-1, SUSE-SU-2021:3582-1 |
| SLES 12 SP4 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
Show 19 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SLES 12 SP2 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SLES 11 SP4 | opensc | 0.11.6-5.27.14.1 | SUSE-SU-2021:14835-1 |
| SLES for SAP 15 SP1 | opensc | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SLES for SAP 15 | opensc | 0.18.0-150000.3.23.1 | SUSE-SU-2022:1041-1 |
| SLES for SAP 12 SP5 | opensc | 0.13.0-3.19.1 | SUSE-SU-2023:4065-1, SUSE-SU-2021:3582-1 |
| SLES for SAP 12 SP4 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SLES for SAP 12 SP3 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SLE Real Time 15 SP2 | opensc | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SLE Micro 5.1 | opensc | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SLE HPC 15 SP1 | opensc | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
| SLE HPC 15 | opensc | 0.18.0-150000.3.23.1 | SUSE-SU-2022:1041-1 |
| SUSE OpenStack Cloud Crowbar 9 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE OpenStack Cloud Crowbar 8 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE OpenStack Cloud 9 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE OpenStack Cloud 8 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | opensc | 0.11.6-5.27.14.1 | SUSE-SU-2021:14835-1 |
| SUSE HPE Helion OpenStack 8 | opensc | 0.13.0-3.19.1 | SUSE-SU-2021:3582-1 |
| SUSE Enterprise Storage 6 | opensc | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | opensc | 0.22.0-1.1 | openSUSE-SU-2024:11613-1 |
| openSUSE Leap 15.3 | opensc | 0.19.0-150100.3.16.1 | SUSE-SU-2022:1156-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | opensc | 0.19.0-5.amzn2 | ALAS2-2023-2102 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | opensc | 0.22.0-1 | — |
Advisories 12
- USN-7346-1 opensc vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-7346-3 opensc vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-3463-1 opensc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4004-1 opensc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11613-1 opensc-0.22.0-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4065-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:14835-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1156-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1041-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3582-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1307 OpenSC: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Apr 9, 2025
- ALAS2-2023-2102 Moderate: opensc security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jun 29, 2023
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2016448
- https://github.com/OpenSC/OpenSC/commit/78cdab94
- https://github.com/OpenSC/OpenSC/commit/7114fb71
- https://github.com/OpenSC/OpenSC/commit/1252aca9
- https://github.com/OpenSC/OpenSC/commit/ae1cf0be
- https://github.com/OpenSC/OpenSC/commit/456ac566
- GLSA-202209-03 vendor-advisory
- [debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update mailing-list