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.
Published: 2026-03-30
Score: 3.8 Low
EPSS: n/a
KEV: No
Impact: Stack buffer overflow in smart card handling may lead to memory corruption
Action: Update Software
AI Analysis

Impact

OpenSC contains a stack‑buffer‑overflow write vulnerability in the card‑oberthur module that can be triggered by specially crafted responses from a USB device or smart card. This flaw, identified as CWE‑121, allows an attacker to corrupt the stack and potentially change program behaviour or cause a crash, compromising the integrity or availability of the middleware.

Affected Systems

All versions of OpenSC prior to 0.27.0 are affected. The problem exists on any system running OpenSC that accepts smart card or USB token input, including typical Windows, Linux, and macOS environments, and requires an attacker with physical access to the computer when a user or administrator operates a token.

Risk and Exploitability

The CVSS score of 3.8 reflects moderate severity. No EPSS score is available and the flaw is not listed in CISA’s KEV catalog. Exploitation requires physical access to the target machine and the ability to supply a crafted device, making the attack vector local and dependent on a user or administrator interacting with a token. In practice, the risk is limited to environments where tokens are used at possibly unsecured workstations.

Generated by OpenCVE AI on March 30, 2026 at 18:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade OpenSC to version 0.27.0 or later.

Generated by OpenCVE AI on March 30, 2026 at 18:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 31 Mar 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

threat_severity

Low


Mon, 30 Mar 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title OpenSC: Stack-buffer-overflow WRITE in card-oberthur
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 3.8, 'vector': 'CVSS:3.1/AV:P/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-30T17:06:16.996Z

Reserved: 2025-11-24T23:01:29.678Z

Link: CVE-2025-66215

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-30T18:16:18.350

Modified: 2026-03-30T18:16:18.350

Link: CVE-2025-66215

cve-icon Redhat

Severity : Low

Publid Date: 2026-03-30T17:06:16Z

Links: CVE-2025-66215 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-03-30T20:55:24Z

Weaknesses