CVE-2026-3580 in Wolfssl
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 timi...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Wolfssl | Wolfssl | < 5.9.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-3580 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-273940-M |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Published | 2026-03-19 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-203: CWE-203
Related attack patterns (CAPEC)
CAPEC-189 Black Box Reverse Engineering via CWE-203
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
wolfSSL 5.8.4 contains a vulnerability where the constant-time masking logic in sp_256_get_entry_256_9 is optimized into conditional branches by GCC when targeting RISC-V RV32I with -O3, compromising side-channel resistance and potentially allowing secret key recovery via timing analysis.
A local attacker can exploit this vulnerability by performing timing analysis on the ECC scalar multiplication operations, which may reveal secret keys due to the optimized conditional branches breaking the constant-time masking logic.
Questions
What is CVE-2026-3580?
wolfSSL 5.8.4 contains a vulnerability where the constant-time masking logic in sp_256_get_entry_256_9 is optimized into conditional branches by GCC when targeting RISC-V RV32I with -O3, compromising side-channel resistance and potentially allowing secret key recovery via timing analysis.
What is the CVSS score for CVE-2026-3580?
CVE-2026-3580 has CVSS 4.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.1%.
Is CVE-2026-3580 actively exploited?
No confirmed active exploitation of CVE-2026-3580 as of 2026-09-25.
How do I remediate CVE-2026-3580?
Priority: HIGH.
What systems are affected by CVE-2026-3580?
CVE-2026-3580 affects Wolfssl Wolfssl.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Wolfssl","product":"Wolfssl","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.