SicherheitslageDEEN

CVE-2026-40528

opensc project opensc

Patch priority

Regular

Fix 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 words

Who 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?

What to do?

  1. Include it in your next regular update.
  2. 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

NVD

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.

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 reference

Vendor updates

6

Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.