CVE-2025-66037

Low

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.

SeverityLow
CVSS3.9
Exploit probability—
ProductOpensc
PublishedMar 30, 2026
First seenMar 30, 2026

How to fix

Update
  • opensc_project opensc0.27.0 or later

Affected products

ProductAffected versionsFixed in
opensc_project openscv < 0.27.00.27.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.