CVE-2026-40528
opensc project opensc
Patch priority
RegularFix with the next regular update.
- CVSS
- 7.8
- Severity
- 7.8
- EPSS
- 0.2 %
- Percentile
- 9
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run opensc project opensc. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDOpenSC 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.
- Vendor / product
- opensc project opensc
- Published
- 29.05.2026
- Modified
- 21.07.2026
- CWE
- CWE-121
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vendor updates
6- SUSE: SUSE-SU-2026:5464-1 – Security update for opensc 26.11.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:2697-1 – Security update for opensc 30.06.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:2657-1 – Security update for opensc 26.06.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:22139-1 – Security update for opensc 17.06.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:22103-1 – Security update for opensc 16.06.2026 · HIGH · Patch day
- Microsoft: Mariner 09.06.2026 · Low · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.