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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-2646— Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function

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存在安全漏洞,该漏洞源于wolfSSL_d2i_SSL_SESSION函数存在堆缓冲区溢出,当反序列化启用了SESSION_CERTS的会话数据时,可能导致攻击者溢出固定大小的缓冲区并损坏堆内存。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.19% · P8

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-2646

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
Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function
Source: CVE Program / CVE List V5
Vulnerability Description
A heap-buffer-overflow vulnerability exists in wolfSSL's wolfSSL_d2i_SSL_SESSION() function. When deserializing session data with SESSION_CERTS enabled, certificate and session id lengths are read from an untrusted input without bounds validation, allowing an attacker to overflow fixed-size buffers and corrupt heap memory. A maliciously crafted session would need to be loaded from an external source to trigger this vulnerability. Internal sessions were not vulnerable.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
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存在安全漏洞,该漏洞源于wolfSSL_d2i_SSL_SESSION函数存在堆缓冲区溢出,当反序列化启用了SESSION_CERTS的会话数据时,可能导致攻击者溢出固定大小的缓冲区并损坏堆内存。
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.8.4 -

II. Public POCs for CVE-2026-2646

# 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-2646

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

Patches & Fixes for CVE-2026-2646 (2)

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-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-3580 Compiler-induced timing leak in sp_256_get_entry_256_9 on RISC-V
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-2646

No comments yet


Leave a comment