Logo
vulnerabilityCVE-2026-40528
Name
CVE-2026-40528
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
opensc
Exploitable

Vulnerability Ratings#


1
CVSSv4
3.8
CVSSv31
7.8
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
0.27.1
Not Affected
buildroot
master
0.27.1
Not Affected
openwrt
master
0.27.1-r1
Not Affected
yocto
kirkstone
0.22.0
Exploitable
yocto
master
0.27.1
Not Affected
yocto
scarthgap
0.25.1
Exploitable