Home

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.

PUBLISHED Reserved 2026-02-17 | Published 2026-03-19 | Updated 2026-03-19 | Assigner wolfSSL




MEDIUM: 5.0CVSS: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

Problem types

CWE-122 Heap-based Buffer Overflow

Product status

Default status
unaffected

Any version
affected

Credits

Jonathan Bar Or (@yo_yo_yo_jbo) finder

Haruto Kimura (Stella) finder

References

github.com/wolfSSL/wolfssl/pull/9748

github.com/wolfSSL/wolfssl/pull/9949

cve.org (CVE-2026-2646)

nvd.nist.gov (CVE-2026-2646)

Download JSON