CVE-2026-40510
opensc project opensc
Patch priority
RegularFix with the next regular update.
- CVSS
- 6.8
- Severity
- 6.8
- EPSS
- 0.3 %
- Percentile
- 24
- 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 needs the device in their hands.
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-rc1, fixed in commit 3f24f0b, contains a stack buffer overflow vulnerability in piv_process_history() in src/libopensc/card-piv.c that allows physically present attackers to trigger memory corruption by presenting a crafted PIV smart card or USB device returning a URL field longer than 118 bytes in the Key History Object ASN.1 response.
- 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:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor updates
9- SUSE: SUSE-SU-2026:23697-1 – Security update for opensc 16.09.2026 · MEDIUM · Patch day
- SUSE: SUSE-SU-2026:23717-1 – Security update for opensc 16.09.2026 · MEDIUM · Patch day
- SUSE: SUSE-SU-2026:23543-1 – Security update for opensc 11.09.2026 · MEDIUM · Patch day
- SUSE: SUSE-SU-2026:23527-1 – Security update for opensc 11.09.2026 · MEDIUM · Patch day
- SUSE: SUSE-SU-2026:4122-1 – Security update for opensc 10.09.2026 · MEDIUM · Patch day
- SUSE: SUSE-SU-2026:4123-1 – Security update for opensc 10.09.2026 · MEDIUM · Patch day
- SUSE: SUSE-SU-2026:4108-1 – Security update for opensc 09.09.2026 · MEDIUM · Patch day
- SUSE: SUSE-SU-2026:23478-1 – Security update for opensc 09.09.2026 · MEDIUM · Patch day
- Microsoft: Mariner 09.06.2026 · Low · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.