In wolfSSL 5.8.4, constant-time masking logic in...
Low severity
Unreviewed
Published
Mar 19, 2026
to the GitHub Advisory Database
•
Updated Mar 23, 2026
Description
Published by the National Vulnerability Database
Mar 19, 2026
Published to the GitHub Advisory Database
Mar 19, 2026
Last updated
Mar 23, 2026
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