Vulnerabilities

CVE-2026-3580

Medium 4.7 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-03-19
Last modified
2026-06-17
Assigned by
facts@wolfssl.com
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.1 % higher than 3 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Wolfssl Wolfssl 5.8.4 Affected

Weakness type

  • CWE-203: Observable Discrepancy

    The product behaves differently or sends different responses under different circumstances in a way that is observable to an unauthorized actor.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities