CVE Explorer
CVE-2025-66037
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"OpenSC","vendor":"OpenSC","versions":[{"status":"affected","version":"< 0.27.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:e339f31b95e5259841d529fc9e104b7e981e2bf00c340d71cb91465d71ac08df · sha256:82054cf5ffcb5ff3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"PHYSICAL","availabilityImpact":"LOW","baseScore":3.9,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:e339f31b95e5259841d529fc9e104b7e981e2bf00c340d71cb91465d71ac08df · sha256:82054cf5ffcb5ff3… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125: Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:e339f31b95e5259841d529fc9e104b7e981e2bf00c340d71cb91465d71ac08df · sha256:82054cf5ffcb5ff3… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/OpenSC/OpenSC/security/advisories/GHSA-m58q-rmjm-mmfx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/OpenSC/OpenSC/security/advisories/GHSA-m58q-rmjm-mmfx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e339f31b95e5259841d529fc9e104b7e981e2bf00c340d71cb91465d71ac08df · sha256:82054cf5ffcb5ff3… · /containers/cna/references/0
{"name":"https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66037","tags":["x_refsource_MISC"],"url":"https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66037"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:e339f31b95e5259841d529fc9e104b7e981e2bf00c340d71cb91465d71ac08df · sha256:82054cf5ffcb5ff3… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.