Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-40510

published low CVSS 4.0 · 1.0

OpenSC < 0.27.0-rc1 Stack Buffer Overflow via piv_process_history() in card-piv.c

Published
29 May 2026, 13:26:40 UTC
Updated
08 Nov 2026, 14:02:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenSC — OpenSC0 to < 0.27.0-rc1 · 0 to < 3f24f0b48a481a8cf2e46059d8238a283ddc1c13 · Other versions: affected Affected Not stated VulnCheck
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned Not stated Amazon Linux assessment
SUSE / openSUSE SLE-12-SP5 openscx86_64 Advisory build 0.13.0-3.39.1 SUSE-SU-2026:4108-1
SUSE / openSUSE SLE-15-SP7 openscaarch64 Advisory build 0.22.0-150600.11.14.1 SUSE-SU-2026:4123-1
SUSE / openSUSE SLE-15-SP7 openscppc64le Advisory build 0.22.0-150600.11.14.1 SUSE-SU-2026:4123-1
SUSE / openSUSE SLE-15-SP7 openscs390x Advisory build 0.22.0-150600.11.14.1 SUSE-SU-2026:4123-1
SUSE / openSUSE SLE-15-SP7 openscx86_64 Advisory build 0.22.0-150600.11.14.1 SUSE-SU-2026:4123-1
Show 17 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-16 openscaarch64 Advisory build 0.26.1-160000.4.1 SUSE-SU-2026:23697-1
SUSE / openSUSE SLE-16 openscaarch64 Advisory build 0.26.1-160000.4.1 SUSE-SU-2026:23717-1
SUSE / openSUSE SLE-16 openscppc64le Advisory build 0.26.1-160000.4.1 SUSE-SU-2026:23697-1
SUSE / openSUSE SLE-16 openscppc64le Advisory build 0.26.1-160000.4.1 SUSE-SU-2026:23717-1
SUSE / openSUSE SLE-16 openscs390x Advisory build 0.26.1-160000.4.1 SUSE-SU-2026:23697-1
SUSE / openSUSE SLE-16 openscs390x Advisory build 0.26.1-160000.4.1 SUSE-SU-2026:23717-1
SUSE / openSUSE SLE-16 openscx86_64 Advisory build 0.26.1-160000.4.1 SUSE-SU-2026:23697-1
SUSE / openSUSE SLE-16 openscx86_64 Advisory build 0.26.1-160000.4.1 SUSE-SU-2026:23717-1
SUSE / openSUSE SLE-5 openscaarch64 Advisory build 0.22.0-150400.3.20.1 SUSE-SU-2026:4122-1
SUSE / openSUSE SLE-5 openscppc64le Advisory build 0.22.0-150400.3.20.1 SUSE-SU-2026:4122-1
SUSE / openSUSE SLE-5 openscs390x Advisory build 0.22.0-150400.3.20.1 SUSE-SU-2026:4122-1
SUSE / openSUSE SLE-5 openscx86_64 Advisory build 0.22.0-150400.3.20.1 SUSE-SU-2026:4122-1
SUSE / openSUSE openSUSE-Leap-16.0 openscaarch64 Advisory build 0.26.1-160000.4.1 OPENSUSE-SU-2026:21820-1
SUSE / openSUSE openSUSE-Leap-16.0 openscppc64le Advisory build 0.26.1-160000.4.1 OPENSUSE-SU-2026:21820-1
SUSE / openSUSE openSUSE-Leap-16.0 openscs390x Advisory build 0.26.1-160000.4.1 OPENSUSE-SU-2026:21820-1
SUSE / openSUSE openSUSE-Leap-16.0 openscx86_64 Advisory build 0.26.1-160000.4.1 OPENSUSE-SU-2026:21820-1
SUSE / openSUSE openSUSE-Leap-16.0 opensc-bash-completionnoarch Advisory build 0.26.1-160000.4.1 OPENSUSE-SU-2026:21820-1

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

6

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
1.0 / 10
Severity
low
Provider
VulnCheck · cna
Vector string
CVSS:4.0/AV:P/AC:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 3.8 low VulnCheck · cna CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
OpenSC OpenSC 0 to < 0.27.0-rc1 (affected · semver)0 to < 3f24f0b48a481a8cf2e46059d8238a283ddc1c13 (affected · git)Default: affected VulnCheck · cna

Weaknesses

1
  • CWE-121 Stack-based Buffer Overflow (VulnCheck · cna)

References

3

Provider assertions

2

VulnCheck · cna

OpenSC < 0.27.0-rc1 Stack Buffer Overflow via piv_process_history() in card-piv.c

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
b46fb4adc69b26149b1b61f39d7348c5ef1c3e832f0085573d09988682ad6b9e
Ingested
08 Nov 2026, 14:13:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected