CVE-2026-2646CWE-122

Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function

Medium · published March 19, 2026

CVSS v4.0
5.0
EPSS
0%
Percentile
9.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.0 · MEDIUM
Vector
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
EPSS
0.00203 · 9.7th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2026-03-19T17:25Z
EPSS history
Timeline
  • 19 MAR 17:25Z
    Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function
    cvelistv5