Buffer overflow in Wolfssl
CVE-2026-2646
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.001, 3.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Wolfssl — versions 0
Weakness classification (CWE)
References
- github.com/wolfSSL/wolfssl/pull/9748 (Patch, Issue Tracking)
- github.com/wolfSSL/wolfssl/pull/9949 (Patch, Issue Tracking)