CVE Explorer
CVE-2026-2646
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"wolfssl","programFiles":["src/ssl_sess.c"],"programRoutines":[{"name":"wolfSSL_d2i_SSL_SESSION"}],"repo":"https://github.com/wolfSSL/wolfssl","vendor":"wolfssl","versions":[{"lessThanOrEqual":"5.8.4","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:aa177eab41aadb22afb0527b87db804f0ec204de779885cf141b48f02c1201a8 · sha256:f20917cb2804398d… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5,"baseSeverity":"MEDIUM","exploitMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialit…
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:aa177eab41aadb22afb0527b87db804f0ec204de779885cf141b48f02c1201a8 · sha256:f20917cb2804398d… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-122","description":"CWE-122 Heap-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:aa177eab41aadb22afb0527b87db804f0ec204de779885cf141b48f02c1201a8 · sha256:f20917cb2804398d… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://github.com/wolfSSL/wolfssl/pull/9748"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:aa177eab41aadb22afb0527b87db804f0ec204de779885cf141b48f02c1201a8 · sha256:f20917cb2804398d… · /containers/cna/references/0
{"url":"https://github.com/wolfSSL/wolfssl/pull/9949"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:aa177eab41aadb22afb0527b87db804f0ec204de779885cf141b48f02c1201a8 · sha256:f20917cb2804398d… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.