{"id":"CVE-2026-3580","aliases":["CVE-2026-3580"],"related":[],"kind":"vulnerability","state":"published","title":"Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V","summary":"In wolfSSL 5.8.4, constant-time masking logic in sp_256_get_entry_256_9 is optimized into conditional branches (bnez) by GCC when targeting RISC-V RV32I with -O3. This transformation breaks the side-channel resistance of ECC scalar multiplication, potentially allowing a local attacker to recover secret keys via timing analysis.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In wolfSSL 5.8.4, constant-time masking logic in sp_256_get_entry_256_9 is optimized into conditional branches (bnez) by GCC when targeting RISC-V RV32I with -O3. This transformation breaks the side-channel resistance of ECC scalar multiplication, potentially allowing a local attacker to recover secret keys via timing analysis.","source":"cvelist"},{"lang":"es","text":"En wolfSSL 5.8.4, la lógica de enmascaramiento de tiempo constante en sp_256_get_entry_256_9 se optimiza en bifurcaciones condicionales (bnez) por GCC al apuntar a RISC-V RV32I con -O3. Esta transformación rompe la resistencia a ataques de canal lateral de la multiplicación escalar ECC, lo que podría permitir a un atacante local recuperar claves secretas mediante análisis de tiempos.","source":"nvd"}],"published":"2026-03-19T19:46:58.783Z","modified":"2026-06-17T10:43:49.067Z","severity":{"scorer":"wolfSSL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","score":2.1,"rating":"LOW"},"severities":[{"scorer":"wolfSSL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N","score":2.1,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-203"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.9.0","status":"affected"}],"vendor":"wolfSSL","product":"wolfSSL","platforms":["RISC-V"],"source":"cvelist"},{"ranges":[{"status":"affected","version":"5.8.4"}],"vendor":"wolfssl","product":"wolfssl","cpe":"cpe:2.3:a:wolfssl:wolfssl:5.8.4:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/9855","tags":["issue-tracking"],"sources":["cvelist","nvd"]}],"credits":["Wind Wong"],"assigner":"wolfSSL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-19T20:25:11.122Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-3580","url":"https://www.cve.org/CVERecord?id=CVE-2026-3580","licence":"CVE Terms of Use","modified":"2026-03-19T20:25:20.427Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-3580","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3580","licence":"Public domain","modified":"2026-06-17T10:43:49.067Z"}],"updatedAt":"2026-11-25T22:59:16.183Z","epss":{"score":0.00144,"percentile":0.0389,"date":"2026-12-02T12:00:21.000Z"}}