Stack-based buffer overflow in OpenSC - CVE-2025-49010
Published: April 2, 2026
Vulnerability details
The vulnerability allows an attacker with physical access to disclose sensitive information, modify data, or cause a denial of service.
The vulnerability exists due to a stack-based buffer overflow write in the GET RESPONSE handling in libopensc when processing specially crafted responses to APDU requests from a crafted USB device or smart card. An attacker with physical access can present a crafted USB device or smart card to trigger the overflow and disclose sensitive information, modify data, or cause a denial of service.
User interaction is required while a user or administrator is using a token, and the issue is considered high complexity.
Affected software
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
Anolis OS
openEuler
Fedora
opensc-debugsource
opensc-debuginfo
opensc
opensc-help
opensc-doc
opensc-libs
How to mitigate CVE-2025-49010
opensc-debugsource - update to 0.19.0-150100.3.34.1
opensc-debuginfo - update to 0.19.0-150100.3.34.1
opensc - update to 0.19.0-150100.3.34.1
opensc-help - update to 0.23.0-8
opensc-debugsource - update to 0.23.0-8
opensc-debuginfo - update to 0.23.0-8
opensc - update to 0.23.0-8
opensc-doc - update to 0.26.1-2
opensc-libs - update to 0.26.1-2
opensc - update to 0.26.1-2
opensc - addressed in versions 0.27.1-1.fc42, 0.27.1-1.fc43, 0.27.1-1.fc44