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.
Metrics
CVSS 3.1 8.1/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| wolfssl | wolfssl | <= 5.8.4 |
References
- https://github.com/wolfSSL/wolfssl/pull/9748Issue Tracking, Patch
- https://github.com/wolfSSL/wolfssl/pull/9949Issue Tracking, Patch
Timeline
- Published
- Mar 19, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed