CVE-2026-3580

Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V

State
Published
Severity
2.1 Low
Published
Mar 19, 2026
Updated
Mar 19, 2026
Reserved
Mar 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.1 LowCVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:NwolfSSL

Weaknesses

Affected Products

ProductVersions
wolfSSLwolfSSL
  • before 5.9.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.