Summary
This update for opensc fixes the following issues
- CVE-2026-10275: global buffer overflow during key pair generation tests due to missing input validation (bsc#1267246).
- CVE-2026-40528: stack and heap buffer overrun in the `do_key_value()` function due to missing length check allows for
memory corruption via a crafted profile configuration file (bsc#1266963).
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| SUSE · SLE Micro 6.0 Linux Micro 6.0 | opensc | 0.24.0-6.1 |
Vulnerabilities 2
-
Medium 5.0
OpenSC pkcs11-tool Key Generation pkcs11-tool.c test_kpgen_certwrite buffer overflow
A flaw has been found in OpenSC up to 0.26.1. This affects the function test_kpgen_certwrite of the file src/tools/pkcs11-tool.c of the component pkcs11-tool Key Generation Module. This manipulation causes buffer overflow. The attack is possible to be carried…
-
Low 3.8
OpenSC < 0.27.0 Buffer Overrun in do_key_value() via profile.c
OpenSC before 0.27.0, fixed in commit 0358817, contains a stack and heap buffer overrun vulnerability in the do_key_value() function in src/pkcs15init/profile.c that allows attackers to corrupt memory by supplying a crafted profile configuration file. During …