CVE-2026-2646
published medium CVSS 4.0 · 5.0Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wolfssl | — | wolfssl0 through 5.8.4 · Other versions: unaffected | Affected | Not stated | wolfSSL |
| Alpine Linux | edge | wolfssl | Fixed | 5.9.0-r0 | Package fix record |
| Alpine Linux | v3.23 | wolfssl | Fixed | 5.9.1-r0 | Package fix record |
| Alpine Linux | v3.24 | wolfssl | Fixed | 5.9.0-r0 | Package fix record |
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 source to trigger this vulnerability. Internal sessions were not vulnerable.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.0 / 10
- Severity
- medium
- Provider
- wolfSSL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wolfssl | wolfssl | 0 through 5.8.4 (affected · semver)Default: unaffected | wolfSSL · cna |
Weaknesses
1- CWE-122 CWE-122 Heap-based Buffer Overflow
References
2Provider assertions
2wolfSSL · cna
Heap buffer overflow in session parsing with wolfSSL_d2i_SSL_SESSION() function
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c3f0fb1bef9bc57fa617b050a870bc86775602ec313e37ad8080ff898fe9958
- Ingested
- 23 Sep 2026, 09:08:49 UTC
- Source record
- Official CVE record