CVE-2026-3580
published low CVSS 4.0 · 2.1Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wolfSSL | — | wolfSSL0 to < 5.9.0 · Other versions: unaffected · Platforms: RISC-V | Affected | Not stated | wolfSSL |
| Alpine Linux | edge | wolfssl | Fixed | 5.9.0-r0 | Package fix record |
| Alpine Linux | v3.23 | wolfssl | Fixed | 5.9.1-r0 | Package fix record |
| Alpine Linux | v3.24 | wolfssl | Fixed | 5.9.0-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- wolfSSL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wolfSSL | wolfSSL | 0 to < 5.9.0 (affected · semver)Default: unaffected | wolfSSL · cna |
Weaknesses
1- CWE-203 CWE-203 Observable Discrepancy
References
1Provider assertions
2wolfSSL · cna
Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 638df4aa54cb86aae63d483208ab6a967e0875313db8c42978bcddce4f67da2c
- Ingested
- 23 Sep 2026, 09:12:43 UTC
- Source record
- Official CVE record