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
- Opensc — versions 0
- Opensc_project Opensc
Weakness classification (CWE)
References
- disclosure@vulncheck.com (Patch, patch)
- disclosure@vulncheck.com (Third Party Advisory, third-party-advisory)
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.