{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-2646","id":"CVE-2026-2646","title":"Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function","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 sour","descriptionLong":"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":"2026-03-19T17:25:42.810Z","updated":"2026-10-28T02:30:33.812452409Z","reserved":"2026-02-17T22:29:37.732Z","status":"Analyzed","rejected":false,"assigner":"wolfSSL","metric":{"version":"4.0","score":5,"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","rating":"medium","source":"wolfSSL"},"metrics":[{"version":"4.0","score":5,"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","rating":"medium","source":"wolfSSL"},{"version":"4.0","score":5,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"wolfssl.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"}],"rating":"medium","products":["wolfssl"],"affectedProducts":[{"vendor":"wolfssl","product":"wolfssl","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","lessThanOrEqual":"5.8.4","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-122","CWE-787"],"aliases":[],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/9748","tags":["Issue Tracking","Patch","fix"]},{"url":"https://github.com/wolfSSL/wolfssl/pull/9949","tags":["Issue Tracking","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2646.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2646","tags":["advisory"]},{"url":"https://github.com/wolfSSL/wolfssl","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00137,"epssPercentile":0.03192,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-2646","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-2646","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-2646","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-2646","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}