All reports
Low

OpenSC: OpenSC: Stack-buffer-overflow via crafted smart card or USB device responses

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-49010

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-20

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 GET RESPONSE. 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.

A flaw was found in OpenSC, an open source smart card tools and middleware. An attacker with physical access to the computer, at the time a user or administrator uses a token, can exploit this vulnerability. By presenting specially crafted responses to Application Protocol Data Units (APDUs) from a malicious USB device or smart card, the attacker can cause a stack-buffer-overflow write. This memory corruption vulnerability could lead to unexpected behavior or system instability.