Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-3580— Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V

Quick assessment

Affected
wolfSSL wolfSSL
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

wolfSSL(CyaSSL)是美国wolfSSL公司的一个针对嵌入式系统开发人员使用的小的、可移植的嵌入式SSL编程库。 wolfSSL 5.8.4版本存在安全漏洞,该漏洞源于sp_256_get_entry_256_9中的恒定时间掩码逻辑被GCC优化为条件分支,破坏了ECC标量乘法的侧信道抵抗能力,可能导致本地攻击者通过时序分析恢复密钥。

AI Predicted 6.5 Difficulty: Moderate EPSS 0.12% · P2

Possible ATT&CK Techniques 1 AI

T1213 · Data from Information Repositories
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-3580

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V
Source: CVE Program / CVE List V5
Vulnerability 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: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
通过差异性导致的信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
wolfSSL 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
wolfSSL(CyaSSL)是美国wolfSSL公司的一个针对嵌入式系统开发人员使用的小的、可移植的嵌入式SSL编程库。 wolfSSL 5.8.4版本存在安全漏洞,该漏洞源于sp_256_get_entry_256_9中的恒定时间掩码逻辑被GCC优化为条件分支,破坏了ECC标量乘法的侧信道抵抗能力,可能导致本地攻击者通过时序分析恢复密钥。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
wolfSSL wolfSSL 0 ~ 5.9.0 -

II. Public POCs for CVE-2026-3580

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-3580

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-3580 (1)

Same Patch Batch · wolfSSL · 2026-03-19 · 11 CVEs total

CVE-2026-3547 7.5 HIGH wolfSSL: out-of-bounds read (DoS) in ALPN parsing due to incomplete validation
CVE-2026-0819 Stack buffer overflow in PKCS7 SignedData encoding with custom signed attributes
CVE-2026-1005 Integer underflow leads to out-of-bounds access in sniffer AES-GCM/CCM/ARIA-GCM decrypt pa
CVE-2026-2646 Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function
CVE-2026-2645 Acceptance of CertificateVerify Message before ClientKeyExchange in TLS 1.2
CVE-2026-3548 Buffer overflow in CRL number parsing in wolfSSL
CVE-2026-3579 Non-constant time multiplication subroutine __muldi3 on RISC-V RV32I
CVE-2026-4395 Heap-based buffer overflow in wc_ecc_import_x963_ex KCAPI path
CVE-2026-3230 Improper key_share validation in TLS 1.3 HelloRetryRequest
CVE-2026-4159 wc_PKCS7_DecodeEnvelopedData 1 byte out-of-bounds read

IV. Related Vulnerabilities

V. Comments for CVE-2026-3580

No comments yet


Leave a comment