Stack-based Buffer Overflow Affecting opensc package, versions <0.26.1-160000.3.1


Severity

Recommended
0.0
low
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.13% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES1600-OPENSC-17354541
  • published17 Jun 2026
  • disclosed15 Jun 2026

Introduced: 15 Jun 2026

CVE-2025-49010  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade SLES:16.0.0 opensc to version 0.26.1-160000.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opensc package and not the opensc package as distributed by SLES. See How to fix? for SLES:16.0.0 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1