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-40528

published low CVSS 4.0 · 1.0

OpenSC < 0.27.0 Buffer Overrun in do_key_value() via profile.c

Published
29 May 2026, 13:38:11 UTC
Updated
14 Jul 2026, 20:00:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenSC — OpenSC0 to < 0.27.0 · 0 to < 0358817ec74aeca654f83e7709c7720b14c5db59 · Other versions: affected Affected Not stated VulnCheck
Amazon Linux AL2 Release evaluationALAS2-2026-3824 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1988 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE SLE-12-SP5 openscaarch64 Advisory build 0.13.0-3.42.1 SUSE-SU-2026:5464-1
Amazon Linux AL2 openscaarch64 Listed in advisory Not stated ALAS2-2026-3824
SUSE / openSUSE SLE-12-SP5 openscppc64le Advisory build 0.13.0-3.42.1 SUSE-SU-2026:5464-1
SUSE / openSUSE SLE-12-SP5 openscs390x Advisory build 0.13.0-3.42.1 SUSE-SU-2026:5464-1
SUSE / openSUSE SLE-12-SP5 openscx86_64 Advisory build 0.13.0-3.42.1 SUSE-SU-2026:5464-1
Show 39 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP4 openscaarch64 Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-15-SP4 openscppc64le Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-15-SP4 openscs390x Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-15-SP4 openscx86_64 Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-15-SP5 openscaarch64 Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-15-SP5 openscppc64le Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-15-SP5 openscs390x Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-15-SP5 openscx86_64 Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-15-SP6 openscaarch64 Advisory build 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SUSE / openSUSE SLE-15-SP6 openscppc64le Advisory build 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SUSE / openSUSE SLE-15-SP6 openscs390x Advisory build 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SUSE / openSUSE SLE-15-SP6 openscx86_64 Advisory build 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SUSE / openSUSE SLE-15-SP7 openscaarch64 Advisory build 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SUSE / openSUSE SLE-15-SP7 openscppc64le Advisory build 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SUSE / openSUSE SLE-15-SP7 openscs390x Advisory build 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SUSE / openSUSE SLE-15-SP7 openscx86_64 Advisory build 0.22.0-150600.11.11.1 SUSE-SU-2026:2697-1
SUSE / openSUSE SLE-5 openscaarch64 Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-5 openscppc64le Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-5 openscs390x Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE SLE-5 openscx86_64 Advisory build 0.22.0-150400.3.17.1 SUSE-SU-2026:2657-1
SUSE / openSUSE openSUSE-Leap-16.0 openscaarch64 Advisory build 0.26.1-160000.5.1 OPENSUSE-SU-2026:21873-1
SUSE / openSUSE openSUSE-Leap-16.0 openscppc64le Advisory build 0.26.1-160000.5.1 OPENSUSE-SU-2026:21873-1
SUSE / openSUSE openSUSE-Leap-16.0 openscs390x Advisory build 0.26.1-160000.5.1 OPENSUSE-SU-2026:21873-1
SUSE / openSUSE openSUSE-Leap-16.0 openscx86_64 Advisory build 0.26.1-160000.5.1 OPENSUSE-SU-2026:21873-1
SUSE / openSUSE openSUSE-Leap-16.0 opensc-bash-completionnoarch Advisory build 0.26.1-160000.5.1 OPENSUSE-SU-2026:21873-1
SUSE / openSUSE openSUSE-Tumbleweed openscaarch64 Advisory build 0.27.1-2.1 OPENSUSE-SU-2026:11022-1
SUSE / openSUSE openSUSE-Tumbleweed openscppc64le Advisory build 0.27.1-2.1 OPENSUSE-SU-2026:11022-1
SUSE / openSUSE openSUSE-Tumbleweed openscs390x Advisory build 0.27.1-2.1 OPENSUSE-SU-2026:11022-1
SUSE / openSUSE openSUSE-Tumbleweed openscx86_64 Advisory build 0.27.1-2.1 OPENSUSE-SU-2026:11022-1
SUSE / openSUSE openSUSE-Tumbleweed opensc-bash-completionaarch64 Advisory build 0.27.1-2.1 OPENSUSE-SU-2026:11022-1
SUSE / openSUSE openSUSE-Tumbleweed opensc-bash-completionppc64le Advisory build 0.27.1-2.1 OPENSUSE-SU-2026:11022-1
SUSE / openSUSE openSUSE-Tumbleweed opensc-bash-completions390x Advisory build 0.27.1-2.1 OPENSUSE-SU-2026:11022-1
SUSE / openSUSE openSUSE-Tumbleweed opensc-bash-completionx86_64 Advisory build 0.27.1-2.1 OPENSUSE-SU-2026:11022-1
Amazon Linux AL2 opensci686 Listed in advisory Not stated ALAS2-2026-3824
Amazon Linux AL2 openscsrc Listed in advisory Not stated ALAS2-2026-3824
Amazon Linux AL2 openscx86_64 Listed in advisory Not stated ALAS2-2026-3824
Amazon Linux AL2023 openscaarch64 Listed in advisory Not stated ALAS2023-2026-1988
Amazon Linux AL2023 openscsrc Listed in advisory Not stated ALAS2023-2026-1988
Amazon Linux AL2023 openscx86_64 Listed in advisory Not stated ALAS2023-2026-1988

Description

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

10

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 (affected · semver)0 to < 0358817ec74aeca654f83e7709c7720b14c5db59 (affected · git)Default: affected VulnCheck · cna

Weaknesses

2
  • CWE-121 Stack-based Buffer Overflow (VulnCheck · cna)
  • CWE-122 Heap-based Buffer Overflow (VulnCheck · cna)

References

2

Provider assertions

2

VulnCheck · cna

OpenSC < 0.27.0 Buffer Overrun in do_key_value() via profile.c

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
e83d1c7272d07c24fcf557ebd0addfff87cca492c3f2ea0715f8ff86cee6d6e9
Ingested
23 Sep 2026, 09:13:21 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