{"id":"CVE-2026-2646","aliases":["CVE-2026-2646"],"related":[],"kind":"vulnerability","state":"published","title":"Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de desbordamiento de búfer de montón existe en la función wolfSSL_d2i_SSL_SESSION() de wolfSSL. Al deserializar datos de sesión con SESSION_CERTS habilitado, las longitudes del certificado y del ID de sesión se leen de una entrada no confiable sin validación de límites, permitiendo a un atacante desbordar búferes de tamaño fijo y corromper la memoria del montón. Una sesión creada maliciosamente necesitaría ser cargada desde una fuente externa para activar esta vulnerabilidad. Las sesiones internas no eran vulnerables.","source":"nvd"}],"published":"2026-03-19T17:25:42.810Z","modified":"2026-06-17T10:31:27.500Z","severity":{"scorer":"wolfSSL","scheme":"CVSS: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","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"wolfSSL","scheme":"CVSS: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","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-122","CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"5.8.4","status":"affected"}],"vendor":"wolfssl","product":"wolfssl","repo":"https://github.com/wolfSSL/wolfssl","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.9.0"}],"vendor":"wolfssl","product":"wolfssl","cpe":"cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/9748","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/wolfSSL/wolfssl/pull/9949","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]}],"credits":["Jonathan Bar Or (@yo_yo_yo_jbo)","Haruto Kimura (Stella)"],"assigner":"wolfSSL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-19T17:43:50.325Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-2646","url":"https://www.cve.org/CVERecord?id=CVE-2026-2646","licence":"CVE Terms of Use","modified":"2026-03-19T17:44:09.675Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-2646","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2646","licence":"Public domain","modified":"2026-06-17T10:31:27.500Z"}],"updatedAt":"2026-11-25T22:59:16.180Z","epss":{"score":0.00218,"percentile":0.07056,"date":"2026-11-30T12:00:22.000Z"}}