CVE-2026-3580

Source
https://cve.org/CVERecord?id=CVE-2026-3580
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3580.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-3580
Downstream
Published
2026-03-19T19:46:58Z
Modified
2026-08-12T03:51:14Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V
Details

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.

Database specific
{
    "cna_assigner": "wolfSSL",
    "cwe_ids": [
        "CWE-203"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/3xxx/CVE-2026-3580.json"
}
References

Affected packages

Git / github.com/wolfssl/wolfssl

Affected ranges

Type
GIT
Repo
https://github.com/wolfssl/wolfssl
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:wolfssl:wolfssl:5.8.4:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.9.0"
        },
        {
            "introduced": "5.8.4"
        },
        {
            "last_affected": "5.8.4"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_STRING"
    ]
}

Affected versions

5.*
5.8.4
v5.*
v5.8.4-stable
Other
wolfEntropy2d

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-3580.json"