Description
A heap-based buffer overflow vulnerability was found in the libopensc OpenPGP driver. A crafted USB device or smart card with malicious responses to the APDUs during the card enrollment process using the `pkcs15-init` tool may lead to out-of-bound rights, possibly resulting in arbitrary code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | opensc | 0.26.0 – < 0.26.0 | 0.26.0 |
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
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.25.1-2.1 | — |
| Debian 13 | opensc | 0.25.1-2.1 | — |
| Debian 12 | opensc | 0.23.0-0.3+deb12u2 | — |
| Debian 11 | opensc | 0.21.0-1+deb11u1 | DLA-4004-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 SP6 | opensc | 0.22.0-150600.11.3.1 | SUSE-SU-2024:3444-1 |
| SLES 15 SP5 | opensc | 0.22.0-150400.3.12.1 | SUSE-SU-2024:3445-1 |
| SLES 12 SP5 | opensc | 0.13.0-3.31.1 | SUSE-SU-2024:3443-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | opensc | 0.13.0-3.31.1 | SUSE-SU-2024:3443-1 |
| SLE Micro 6.1 | opensc | 0.24.0-slfo.1.1_2.1 | SUSE-SU-2025:20671-1 |
| SLE Micro 6.0 | opensc | 0.24.0-3.1 | SUSE-SU-2025:20072-1 |
| SLE Micro 5.5 | opensc | 0.22.0-150400.3.12.1 | SUSE-SU-2024:3445-1 |
| SLE Micro 5.4 | opensc | 0.22.0-150400.3.12.1 | SUSE-SU-2024:3445-1 |
| SLE Micro 5.3 | opensc | 0.22.0-150400.3.12.1 | SUSE-SU-2024:3445-1 |
| SLE Micro 5.2 | opensc | 0.19.0-150100.3.31.1 | SUSE-SU-2024:3517-1 |
| SLE Micro 5.1 | opensc | 0.19.0-150100.3.31.1 | SUSE-SU-2024:3517-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | opensc | 0.25.1-2.1 | openSUSE-SU-2024:14382-1 |
| openSUSE Leap 15.6 | opensc | 0.22.0-150600.11.3.1 | SUSE-SU-2024:3444-1 |
| openSUSE Leap 15.5 | opensc | 0.22.0-150400.3.12.1 | SUSE-SU-2024:3445-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.5 | opensc | 0.22.0-150400.3.12.1 | SUSE-SU-2024:3445-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | opensc | 0.26.0-r0 | — |
| Alpine v3.23 | opensc | 0.26.0-r0 | — |
| Alpine v3.22 | opensc | 0.26.0-r0 | — |
| Alpine v3.21 | opensc | 0.26.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | opensc | 0.24.0-1.amzn2023.0.4 | ALAS2023-2024-775 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | opensc | 0.26.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | opensc | No fix yet | — |
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
- SUSE-SU-2025:20072-1 Security update for opensc SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20671-1 Security update for opensc SUSE / openSUSE Security Updates · Mar 23, 2026
- DLA-4004-1 opensc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2024:3517-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3443-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3445-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:3444-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14382-1 opensc-0.25.1-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-2075 OpenSC: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Aug 4, 2025
- ALAS2023-2024-775 Low: opensc security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Dec 16, 2024
References
- https://access.redhat.com/security/cve/CVE-2024-8443 vdb-entry
- RHBZ#2310494 issue-tracking