Description
OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes OpenSC to perform an out-of-bounds heap read in the X.509/SPKI handling path. Specifically, sc_pkcs15_pubkey_from_spki_fields() allocates a zero-length buffer and then reads one byte past the end of that allocation. This issue has been patched in version 0.27.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenSC | OpenSC | < 0.27.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.27.1-1 | — |
| Debian 13 | opensc | No fix yet | — |
| Debian 12 | opensc | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | opensc | No fix yet | — |
| Ubuntu 26.04 LTS | opensc | No fix yet | — |
| Ubuntu 25.10 | opensc | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | opensc | No fix yet | — |
| Ubuntu Pro 22.04 LTS | opensc | No fix yet | — |
| Ubuntu Pro 20.04 LTS | opensc | No fix yet | — |
| Ubuntu Pro 18.04 LTS | opensc | No fix yet | — |
| Ubuntu Pro 16.04 LTS | opensc | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | opensc | 0.22.0-150600.11.11.1 | SUSE-SU-2026:2697-1 |
| SLES 15 SP6 | opensc | 0.22.0-150600.11.11.1 | SUSE-SU-2026:2697-1 |
| SLES 15 SP5 | opensc | 0.22.0-150400.3.17.1 | SUSE-SU-2026:2657-1 |
| SLES 15 SP4 | opensc | 0.22.0-150400.3.17.1 | SUSE-SU-2026:2657-1 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | opensc | 0.26.1-160000.3.1 | SUSE-SU-2026:22126-1 |
| SLES for SAP 15 SP6 | opensc | 0.22.0-150600.11.11.1 | SUSE-SU-2026:2697-1 |
| SLES for SAP 15 SP5 | opensc | 0.22.0-150400.3.17.1 | SUSE-SU-2026:2657-1 |
| SLES for SAP 15 SP4 | opensc | 0.22.0-150400.3.17.1 | SUSE-SU-2026:2657-1 |
| SLES 16.0 | opensc | 0.26.1-160000.3.1 | SUSE-SU-2026:22126-1 |
| SLE Micro 6.2 | opensc | 0.26.1-160000.3.1 | SUSE-SU-2026:22114-1 |
| SLE Micro 5.5 | opensc | 0.22.0-150400.3.17.1 | SUSE-SU-2026:2657-1 |
| SLE Micro 5.4 | opensc | 0.22.0-150400.3.17.1 | SUSE-SU-2026:2657-1 |
| SLE Micro 5.3 | opensc | 0.22.0-150400.3.17.1 | SUSE-SU-2026:2657-1 |
| SLE Micro 5.2 | opensc | 0.19.0-150100.3.34.1 | SUSE-SU-2026:1477-1 |
| SLE HPC 15 SP5 | opensc | 0.22.0-150400.3.17.1 | SUSE-SU-2026:2657-1 |
| SLE HPC 15 SP4 | opensc | 0.22.0-150400.3.17.1 | SUSE-SU-2026:2657-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | opensc | 0.27.1-1.1 | openSUSE-SU-2026:10475-1 |
| openSUSE Leap 16.0 | opensc | 0.26.1-160000.3.1 | openSUSE-SU-2026:20967-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | opensc | 0.27.1-1 | — |
Advisories 8
- SUSE-SU-2026:2697-1 Security update for opensc SUSE / openSUSE Security Updates · Jul 1, 2026
- WID-SEC-2026-0917 OpenSC: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Jun 30, 2026
- SUSE-SU-2026:2657-1 Security update for opensc SUSE / openSUSE Security Updates · Jun 27, 2026
- openSUSE-SU-2026:20967-1 Security update for opensc SUSE / openSUSE Security Updates · Jun 24, 2026
- SUSE-SU-2026:22126-1 Security update for opensc SUSE / openSUSE Security Updates · Jun 17, 2026
- SUSE-SU-2026:22114-1 Security update for opensc SUSE / openSUSE Security Updates · Jun 17, 2026
- SUSE-SU-2026:1477-1 Security update for opensc SUSE / openSUSE Security Updates · Apr 21, 2026
- openSUSE-SU-2026:10475-1 opensc-0.27.1-1.1 on GA media SUSE / openSUSE Security Updates · Apr 2, 2026