{"id":"CVE-2025-66037","aliases":["CVE-2025-66037"],"related":[],"kind":"vulnerability","state":"published","title":"OpenSC: Out of Bounds vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"OpenSC es un conjunto de herramientas y middleware de código abierto para tarjetas inteligentes. Antes de la versión 0.27.0, al introducir una entrada manipulada en el arnés fuzz_pkcs15_reader, OpenSC realiza una lectura de pila fuera de límites en la ruta de manejo de X.509/SPKI. Específicamente, sc_pkcs15_pubkey_from_spki_fields() asigna un búfer de longitud cero y luego lee un byte más allá del final de esa asignación. Este problema ha sido parcheado en la versión 0.27.0.","source":"nvd"}],"published":"2026-03-30T17:01:27.790Z","modified":"2026-06-17T09:56:13.237Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":3.9,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":3.9,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"version":"< 0.27.0","status":"affected"}],"vendor":"OpenSC","product":"OpenSC","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.27.0"}],"vendor":"opensc_project","product":"opensc","cpe":"cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenSC/OpenSC/security/advisories/GHSA-m58q-rmjm-mmfx","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenSC/OpenSC/wiki/CVE-2025-66037","tags":["vendor-advisory","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-03-30T20:14:26.757Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66037","url":"https://www.cve.org/CVERecord?id=CVE-2025-66037","licence":"CVE Terms of Use","modified":"2026-03-30T20:14:39.203Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66037","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66037","licence":"Public domain","modified":"2026-06-17T09:56:13.237Z"}],"updatedAt":"2026-11-25T22:59:12.006Z","epss":{"score":0.00285,"percentile":0.22576,"date":"2026-12-01T12:00:22.000Z"}}