Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function
Summary
Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function
Original description
The description as published by the source.
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.
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-2646 wolfssl
- Ubuntu UBUNTU-CVE-2026-2646 wolfssl
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com