CVE-2025-66215
CVE-2025-66215 is a low-severity vulnerability in Opensc Project Opensc with a CVSS 3.x base score of 3.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-121.
Key facts
- Severity: Low (CVSS 3.x base score 3.8)
- EPSS exploit prediction: 0% (5th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-209129
- Weakness: CWE-121
- Affected product: Opensc Project Opensc
- Published:
- Last modified:
Description
OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.
Frequently asked questions
- What is CVE-2025-66215?
- OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, an attacker with physical access to the computer at the time user or administrator uses a token can cause a stack-buffer-overflow WRITE in card-oberthur. The attack requires crafted USB device or smart card that would present the system with specially crafted responses to the APDUs. This issue has been patched in version 0.27.0.
- How severe is CVE-2025-66215?
- CVE-2025-66215 has a CVSS 3.x base score of 3.8, rated low severity. It is exploitable over physical access with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability low.
- Is CVE-2025-66215 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (5th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-66215?
- CVE-2025-66215 affects Opensc Project Opensc. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-66215?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-66215 have an EU (EUVD) identifier?
- Yes. CVE-2025-66215 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-209129.
- When was CVE-2025-66215 published?
- CVE-2025-66215 was published on 2026-03-30 and last updated on 2026-06-17.
References
- https://github.com/OpenSC/OpenSC/commit/efd1d479832141bcf705c2f47655ada4d5f92f5d
- https://github.com/OpenSC/OpenSC/pull/3436
- https://github.com/OpenSC/OpenSC/security/advisories/GHSA-q5fc-cw56-hwp2
- https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66215
Affected products (1)
- cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*
More vulnerabilities in Opensc Project Opensc
- CVE-2021-34193 — High (CVSS 7.5): Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
- CVE-2019-16058 — High (CVSS 7.5): An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card creates a signature with a…
- CVE-2019-6502 — High (CVSS 7.5): sc_context_create in ctx.c in libopensc in OpenSC 0.19.0 has a memory leak, as demonstrated by a call from eidenv.
- CVE-2023-2977 — High (CVSS 7.1): A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15…
- CVE-2019-20792 — Medium (CVSS 6.8): OpenSC before 0.20.0 has a double free in coolkey_free_private_data because coolkey_add_object in…
- CVE-2018-16393 — Medium (CVSS 6.8): Several buffer overflows when handling responses from a Gemsafe V1 Smartcard in gemsafe_get_cert_len in…
All CVEs affecting Opensc Project Opensc →
Other CWE-121 (Stack-based Buffer Overflow) vulnerabilities
- CVE-2026-12848 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12847 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12846 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-12485 — Critical (CVSS 10.0): GV-I/O Box 4E is a smart embedded device with 4 input and 4 relays output that can be controlled over Ethernet and…
- CVE-2026-37541 — Critical (CVSS 10.0): Buffer overflow vulnerability in Open Vehicle Monitoring System 3 (OVMS3) 3.3.005. In canformat_gvret.cpp, the length…
- CVE-2026-42996 — Critical (CVSS 10.0): JS8Call through 2.3.1 and JS8Call-improved before 3.0 have a stack-based buffer overflow via a radio transmission of…
Browse all CWE-121 (Stack-based Buffer Overflow) vulnerabilities →