Low severity3.8NVD Advisory· Published May 29, 2026· Updated Jun 3, 2026
CVE-2026-40528
CVE-2026-40528
Description
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 pkcs15-init invocation, a key value entry beginning with '=' followed by more than sizeof(keybuf) characters is copied into keybuf via memcpy without a length check, causing both stack and heap buffer overruns.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
6- osv-coords3 versionspkg:rpm/opensuse/opensc&distro=openSUSE%20Tumbleweedpkg:rpm/suse/opensc&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Micro%206.1
< 0.27.1-2.1+ 2 more
- (no CPE)range: < 0.27.1-2.1
- (no CPE)range: < 0.24.0-6.1
- (no CPE)range: < 0.24.0-slfo.1.1_4.1
Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.