Vulnerability · Published Mar 19, 2026 · Assigned by wolfSSL
CVE-2026-3580Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V
Low 2.1
In plain English
A low-severity security flaw in wolfSSL from wolfSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | wolfssl | 5.9.1-r0 | ALPINE-CVE-2026-3580 |
| Alpine:v3.24 | wolfssl | 5.9.0-r0 | ALPINE-CVE-2026-3580 |
| Debian:12 | wolfssl | no fix listed | DEBIAN-CVE-2026-3580 |
| Debian:13 | wolfssl | no fix listed | DEBIAN-CVE-2026-3580 |
| Ubuntu:22.04:LTS | wolfssl | no fix listed | UBUNTU-CVE-2026-3580 |
| Ubuntu:24.04:LTS | wolfssl | no fix listed | UBUNTU-CVE-2026-3580 |
| Ubuntu:25.10 | wolfssl | no fix listed | UBUNTU-CVE-2026-3580 |
| Ubuntu:26.04:LTS | wolfssl | no fix listed | UBUNTU-CVE-2026-3580 |
| Ubuntu:26.10 | wolfssl | no fix listed | UBUNTU-CVE-2026-3580 |
Affected products (as reported)
Weakness: CWE-203 · 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