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.
CVE-2025-66038
This low-severity CVE scores 3.9 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.8
- EG Score
- 3.9(low)
- EG Risk
- 18(Track)EG Risk 18/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity39% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 20%
- KEV
- Not listed
Published
March 30, 2026
Last Modified
June 17, 2026
References (3)
- security-advisories@githubhttps://github.com/OpenSC/OpenSC/commit/6db171bcb6fd7cb3b51098fefbb3b28e44f0a79c
- security-advisories@githubhttps://github.com/OpenSC/OpenSC/security/advisories/GHSA-72x5-fwjx-2459
- security-advisories@githubhttps://github.com/OpenSC/OpenSC/wiki/CVE-2025-66038
Vendor Advisories for CVE-2025-66038(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 3× in last 7d / 3× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-27 14:12 UTCEPSS rescore
- 2026-07-27 12:52 UTCEG score recompute
- 2026-07-27 12:52 UTCVendor advisory
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc
Same CWE
10 shownCWE-126
- CVE-2017-17772EG 9.8CRITICAL
- CVE-2022-1927NVD 7.8EG 9.8CRITICAL
- CVE-2019-3563EG 9.8CRITICAL
- CVE-2018-14790EG 9.8EPSS p92CRITICAL
- CVE-2017-7679EG 9.8EPSS p98CRITICAL
- CVE-2021-34584EG 9.1CRITICAL
- CVE-2019-11036EG 9.1EPSS p94CRITICAL
- CVE-2022-2175NVD 7.8EG 8.8HIGH
- CVE-2022-20823EG 8.6HIGH
- CVE-2022-20714EG 8.6HIGH
Frequently asked(5)
What is CVE-2025-66038?
When was CVE-2025-66038 disclosed?
Is CVE-2025-66038 actively exploited?
What is the CVSS score of CVE-2025-66038?
How do I remediate CVE-2025-66038?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2025-66038
Is Your Infrastructure Affected by CVE-2025-66038?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.