CVE-2026-3580CWE-203

Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V

Low · published March 19, 2026

CVSS v4.0
2.1
EPSS
0%
Percentile
2.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
2.1 · LOW
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
EPSS
0.00128 · 2.2th percentile
Weakness
CWE-203 · Observable Discrepancy
Published
2026-03-19T19:46Z
EPSS history
Timeline
  • 19 MAR 19:46Z
    Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V
    cvelistv5