cve.bz

CVE-2025-66215 opensc project opensc: Stack-based Buffer Overflow

6.8 mediumEPSS 0.2%Fix available

Medium (6.8) in opensc project opensc. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-66215 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-66215?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-66215?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-66215 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
opensc_project:openscbefore 0.27.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13openscno fix listedDEBIAN-CVE-2025-66215
Debian14opensc0.27.0~rc1-1DEBIAN-CVE-2025-66215
Ubuntu25.10, 26.04:LTS, 26.10 and 5 moreopenscno fix listedUBUNTU-CVE-2025-66215
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreopensc0.22.0-150400.3.17.1SUSE-SU-2026:2657-1
SUSELinux Enterprise Micro 5.2opensc0.19.0-150100.3.34.1SUSE-SU-2026:1477-1
SUSELinux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6opensc0.22.0-150600.11.11.1SUSE-SU-2026:2697-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5opensc0.13.0-3.36.1SUSE-SU-2026:2678-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0opensc0.26.1-160000.3.1SUSE-SU-2026:22126-1
SUSELinux Micro 6.2opensc0.26.1-160000.3.1SUSE-SU-2026:22114-1
openSUSELeap 16.0opensc0.26.1-160000.3.1openSUSE-SU-2026:20967-1
openSUSETumbleweedopensc0.27.1-1.1openSUSE-SU-2026:10475-1
Azure Linux3opensc0.27.1-1AZL-81186
Alpaquita23, 25, streamopensc0.27.1-r0BELL-CVE-2025-66215

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10openscFix deferred
Red Hat Enterprise Linux 7openscFix deferred
Red Hat Enterprise Linux 8openscFix deferred
Red Hat Enterprise Linux 9openscFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-66215.

References

Check your stackJSON