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-2025-66038

published low CVSS 3.1 · 3.9

OpenSC: `sc_compacttlv_find_tag` can return out-of-bounds pointers

Published
30 Mar 2026, 17:03:55 UTC
Updated
01 Apr 2026, 18:15:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
OpenSC — OpenSC< 0.27.0 Affected Not stated GitHub_M
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
Alpine Linux edge opensc Fixed 0.27.1-r0 Package fix record
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
Show 36 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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-16 openscaarch64 Advisory build 0.26.1-160000.3.1 SUSE-SU-2026:22126-1
SUSE / openSUSE SLE-16 openscppc64le Advisory build 0.26.1-160000.3.1 SUSE-SU-2026:22126-1
SUSE / openSUSE SLE-16 openscs390x Advisory build 0.26.1-160000.3.1 SUSE-SU-2026:22126-1
SUSE / openSUSE SLE-16 openscx86_64 Advisory build 0.26.1-160000.3.1 SUSE-SU-2026:22126-1
SUSE / openSUSE SLE-5 openscaarch64 Advisory build 0.19.0-150100.3.34.1 SUSE-SU-2026:1477-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.19.0-150100.3.34.1 SUSE-SU-2026:1477-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.19.0-150100.3.34.1 SUSE-SU-2026:1477-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.3.1 OPENSUSE-SU-2026:20967-1
SUSE / openSUSE openSUSE-Leap-16.0 openscppc64le Advisory build 0.26.1-160000.3.1 OPENSUSE-SU-2026:20967-1
SUSE / openSUSE openSUSE-Leap-16.0 openscs390x Advisory build 0.26.1-160000.3.1 OPENSUSE-SU-2026:20967-1
SUSE / openSUSE openSUSE-Leap-16.0 openscx86_64 Advisory build 0.26.1-160000.3.1 OPENSUSE-SU-2026:20967-1
SUSE / openSUSE openSUSE-Leap-16.0 opensc-bash-completionnoarch Advisory build 0.26.1-160000.3.1 OPENSUSE-SU-2026:20967-1
SUSE / openSUSE openSUSE-Tumbleweed openscaarch64 Advisory build 0.27.1-1.1 OPENSUSE-SU-2026:10475-1
SUSE / openSUSE openSUSE-Tumbleweed openscppc64le Advisory build 0.27.1-1.1 OPENSUSE-SU-2026:10475-1
SUSE / openSUSE openSUSE-Tumbleweed openscs390x Advisory build 0.27.1-1.1 OPENSUSE-SU-2026:10475-1
SUSE / openSUSE openSUSE-Tumbleweed openscx86_64 Advisory build 0.27.1-1.1 OPENSUSE-SU-2026:10475-1
SUSE / openSUSE openSUSE-Tumbleweed opensc-bash-completionaarch64 Advisory build 0.27.1-1.1 OPENSUSE-SU-2026:10475-1
SUSE / openSUSE openSUSE-Tumbleweed opensc-bash-completionppc64le Advisory build 0.27.1-1.1 OPENSUSE-SU-2026:10475-1
SUSE / openSUSE openSUSE-Tumbleweed opensc-bash-completions390x Advisory build 0.27.1-1.1 OPENSUSE-SU-2026:10475-1
SUSE / openSUSE openSUSE-Tumbleweed opensc-bash-completionx86_64 Advisory build 0.27.1-1.1 OPENSUSE-SU-2026:10475-1

Description

OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, sc_compacttlv_find_tag searches a compact-TLV buffer for a given tag. In compact-TLV, a single byte encodes the tag (high nibble) and value length (low nibble). With a 1-byte buffer {0x0A}, the encoded element claims tag=0 and length=10 but no value bytes follow. Calling sc_compacttlv_find_tag with search tag 0x00 returns a pointer equal to buf+1 and outlen=10 without verifying that the claimed value length fits within the remaining buffer. In cases where the sc_compacttlv_find_tag is provided untrusted data (such as being read from cards/files), attackers may be able to influence it to return out-of-bounds pointers leading to downstream memory corruption when subsequent code tries to dereference the pointer. This issue has been patched in version 0.27.0.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
3.9 / 10
Severity
low
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
OpenSC OpenSC < 0.27.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-126 CWE-126: Buffer Over-read (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

OpenSC: `sc_compacttlv_find_tag` can return out-of-bounds pointers

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
bca14f80bf5659d63408bc67ce8c8839b89136c3f0def0723e1acc9de526274a
Ingested
23 Sep 2026, 08:56:20 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