CVE-2026-3580

MEDIUM

Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V

Title source: cna
STIX 2.1

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.

References (1)

Core 1

Scores

CVSS v3 4.7
EPSS 0.0013
EPSS Percentile 2.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-203
Status published
Products (2)
wolfssl/wolfssl 5.8.4
wolfSSL/wolfSSL < 5.9.0
Published Mar 19, 2026
Tracked Since Mar 20, 2026