6.8

CVE-2026-40510: opensc_project opensc Stack-based Buffer Overflow

CVSS: 6.8v3.1MediumAnalyzed
AliasesSUSE-SU-2026:23478-1SUSE-SU-2026:23527-1SUSE-SU-2026:23543-1
Published 29-05-2026Last modified 14-07-2026

Vulnerability summary

CVE-2026-40510 is a medium (CVSS 6.8) Stack-based Buffer Overflow vulnerability in opensc_project opensc. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.9% of scored vulnerabilities.

Overall risk
27/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.8/10
010
Medium · v3.1 (NVD)
EPSS score
0.25%
0%100%
Low · -0.04 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 29-05-2026
    PublishedVulnerability first disclosed.
  2. 14-07-2026
    Last modifiedVulnerability information updated.

Description

OpenSC 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.

CVSS metrics

4 scores · 2 sources · 2 versions

EPSS trend

Probability

0.25%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

-0.04 pp

From 0.29% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.25%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Suse10 products
  • opensc&distro=SUSE Linux Enterprise Micro 5.3< 0.22.0-150400.3.20.1
  • opensc&distro=SUSE Linux Enterprise Micro 5.4< 0.22.0-150400.3.20.1
  • opensc&distro=SUSE Linux Enterprise Micro 5.5< 0.22.0-150400.3.20.1
  • opensc&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 0.22.0-150600.11.14.1
  • opensc&distro=SUSE Linux Enterprise Server 16.0< 0.26.1-160000.4.1
Opensc1 product
  • opensc< 0.27.0-rc1 | < 3f24f0b48a481a8cf2e46059d8238a283ddc1c13
Opensc_project1 product
Opensuse1 product
  • opensc&distro=openSUSE Leap 16.0< 0.26.1-160000.4.1

4 vendors · 13 products

References

14 links
Show all 14 references