Heap use-after-free on read during bidirectional (D)TLS shutdown (wolfSSL wolfSSL)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % Β· percentile 11 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- wolfSSL
- NVD status
- Analyzed
Description
In all builds that make use of (D)TLS, including default builds, there is a series of conditional states during the TLS shutdown which could lead to a heap-use-after free. If an application ended up getting a partial wolfSSL_read() which is sometimes caused by a small user buffer passed in, then called wolfSSL_shutdown for a bidirectional close and attempted to wolfSSL_read() again while the peer continues trying to send data during the shutdown it would lead to a state where a potential heap-use-after free happened.
Weaknesses (CWE)
- CWE-416 β Use After Free
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | LOW 2.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | wolfSSL |
| CVSS 4.0 | LOW 2.3 | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/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 | NVD Β· facts@wolfssl.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD Β· nvd@nist.gov (Primary) |
European references
- ENISA EUVD Β· EUVD-2026-87924
- GCVE Β· GCVE-0-2026-15442
Affected configurations (NVD CPE)
cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*β₯ 4.4.0 β€ 5.9.2
Affected products
| Product | Versions |
|---|---|
| wolfSSL Β· wolfSSL | affected 4.4.0 β€ 5.9.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |