{"id":"CVE-2026-2646","published":"2026-03-19T17:25:42Z","modified":"2026-03-19T17:44:09Z","title":"Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function","vendor":"wolfssl","product":"wolfssl","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00137,"percentile":0.03166,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/9748","tags":[]},{"url":"https://github.com/wolfSSL/wolfssl/pull/9949","tags":[]}],"priority":{"score":4.1,"factors":[{"name":"EPSS percentile","points":0.63},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"wolfssl","affectedVersions":[{"vendor":"wolfssl","product":"wolfssl","versions":["<= 5.8.4"]}],"capec":[{"id":"CAPEC-100","name":"Overflow Buffers"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-19T17:43:50.325959Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-13137","exploited":false,"provenance":"source"}}