Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-66038: OpenSC is an open source smart card tools and middleware

24
Routine
LOW 3.9UPGRADE

CVE-2025-66038 is a low-severity flaw (CVSS 3.9) affecting opensc. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 with

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score3.9 (Low)
Attack vectorPhysical
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 78%)
CISA exploited listNo
WeaknessCWE-126
Published2026-03-30
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: opensc project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

opensc project opensc UPGRADE
Affected: < 0.27.0
Fixed in: 0.27.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy opensc || rpm -q opensc || opensc --version
2. UPGRADE to 0.27.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade opensc
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade opensc
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-66038?

opensc: upgrade to 0.27.0. Exact commands for each OS are on this page.

Is CVE-2025-66038 being exploited?

CVE-2025-66038 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-66038 affect?

CVE-2025-66038 affects opensc. Severity is low (CVSS 3.9). 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 nibbl

How urgent is CVE-2025-66038?

Priority 24/100. Public exploit reference

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.