CVE-2026-3580 LOW

CVE-2026-3580: Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V

Vendor Wolfssl
Product wolfSSL
Weakness CWE-203
Published March 19, 2026
Last update March 19, 2026

CVSS base score

2.1/10
Attack vector Local
Attack complexity High
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 19, 2026 CVE published
March 19, 2026 Record updated