CVE-2025-66037

LOW

OpenSC: Out of Bounds vulnerability

Title source: cna
STIX 2.1

Description

OpenSC is an open source smart card tools and middleware. Prior to version 0.27.0, feeding a crafted input to the fuzz_pkcs15_reader harness causes OpenSC to perform an out-of-bounds heap read in the X.509/SPKI handling path. Specifically, sc_pkcs15_pubkey_from_spki_fields() allocates a zero-length buffer and then reads one byte past the end of that allocation. This issue has been patched in version 0.27.0.

References (2)

Core 2
Core References
X_Refsource_Misc x_refsource_misc
https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66037

Scores

CVSS v3 3.9
EPSS 0.0001
EPSS Percentile 0.7%
Attack Vector PHYSICAL
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-125
Status published
Products (2)
OpenSC/OpenSC < 0.27.0
opensc_project/opensc < 0.27.0
Published Mar 30, 2026
Tracked Since Mar 30, 2026