CVE-2025-49010 OpenSC: Stack-buffer-overflow WRITE in GET RESPONSE

Low 3.8 Published Updated

An attacker with physical access can trigger a stack-buffer-overflow write via a crafted smart card, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-49010?

CVE-2025-49010 is a low-severity memory corruption vulnerability in Opensc Project Opensc, published on 30 Mar 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-121

Which versions are affected by CVE-2025-49010?

It affects 1 product.

Products include Opensc Project Opensc.

How do I fix CVE-2025-49010?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-49010 being exploited?

There is no known exploitation of CVE-2025-49010 in the wild and no public exploit code.

All Opensc Project Opensc vulnerabilities

Sources

Also known as AZL-81183, BELL-CVE-2025-49010, DEBIAN-CVE-2025-49010, GHSA-q5cf-5wmx-9wh4, UBUNTU-CVE-2025-49010.

Is CVE-2025-49010 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free