# CVE-2026-3580: Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V

- Severity: Low 2.1 (CVSS:4.0, scored by wolfSSL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-02)
- Published: 2026-03-19T19:46:58.783Z
- Modified: 2026-06-17T10:43:49.067Z
- Weaknesses: CWE-203
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: wolfSSL

## 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.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: before 5.9.0; 5.8.4

## Every score

- wolfSSL: CVSS:4.0 2.1 Low `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`
- NVD: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/wolfSSL/wolfssl/pull/9855> (issue-tracking)

## Sources

- CVE List: [CVE-2026-3580](https://www.cve.org/CVERecord?id=CVE-2026-3580), CVE Terms of Use, modified 2026-03-19
- NVD: [CVE-2026-3580](https://nvd.nist.gov/vuln/detail/CVE-2026-3580), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3580 · Whole record: https://cve.day/CVE-2026-3580.json · Rebuilt by cve.day 2026-11-25T22:59:16.183Z
