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.
{
"sources": [
{
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-3580",
"imported": "2026-07-17T22:28:56.408Z",
"published": "2026-03-19T20:16:14.450Z",
"modified": "2026-06-17T10:43:49.067Z",
"id": "CVE-2026-3580",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-3580"
},
{
"modified": "2026-03-19T20:25:20Z",
"imported": "2026-07-17T22:28:58.201Z",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-13172",
"published": "2026-03-19T19:46:58Z",
"id": "EUVD-2026-13172",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-13172"
}
],
"license": "CC-BY-4.0"
}