Buffer overflow in Opensc

CVE-2026-40528

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 configu…

Vulnerability class: Buffer Overflow

EPSS: 0.000 (0.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.8 (Low). Vector: CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-40528?
CVE-2026-40528 is a low-severity vulnerability in Opensc, classified under Stack-based Buffer Overflow. CVSS score: 3.8/10. Published 2026-05-29.
How severe is CVE-2026-40528?
Low severity. CVSS v3 base score is 3.8 out of 10.