CVE-2026-2646

MEDIUM

Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function

Title source: cna

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.

Scores

CVSS v4 5.0
EPSS 0.0001
EPSS Percentile 3.2%
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

Details

CWE
CWE-122
Status published
Products (1)
wolfssl/wolfssl < 5.8.4
Published Mar 19, 2026
Tracked Since Mar 19, 2026