What’s Vulnerable › Vulnerabilities
CVE-2026-3580: Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-19 · updated 2026-06-17
- Weakness: CWE-203
Description
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.
Affected products
- wolfSSL: 5.8.4
References
Get alerted when CVE-2026-3580 or the next vulnerability affects your stack