CVE-2026-15442

Heap use-after-free on read during bidirectional (D)TLS shutdown

Published Sep 27, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability occurs during TLS shutdown in wolfSSL implementations. A partial wolfSSL_read() followed by a bidirectional wolfSSL_shutdown() and another wolfSSL_read() can trigger a heap‑use‑after‑free condition. The resulting memory corruption could cause an application crash or, if an attacker can influence the freed memory region, potentially allow arbitrary code execution.

Affected Systems

All wolfSSL builds that incorporate TLS (including default builds) are affected; version details are unspecified, so any current release may be vulnerable until a patch is applied.

Risk and Exploitability

The CVSS score of 2.3 indicates low severity. No EPSS data is available and the flaw is not listed in the CISA KEV catalog. The likely attack scenario requires the application to perform a specific read‑shutdown‑read sequence, which is typically local and depends on application flow. Consequently, the exploitation risk is considered low, but memory corruption remains a concern for affected deployments.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest wolfSSL release that contains the fix for the TLS shutdown issue.
  • Ensure that buffers passed to wolfSSL_read() are large enough to prevent partial reads.
  • Modify application logic to call wolfSSL_shutdown() before any subsequent wolfSSL_read() during a bidirectional close.

Generated by OpenCVE AI on September 27, 2026 at 10:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wolfssl
Wolfssl wolfssl
Vendors & Products Wolfssl
Wolfssl wolfssl
Type Values Removed Values Added
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.
Title Heap use-after-free on read during bidirectional (D)TLS shutdown
Weaknesses CWE-416
References
Metrics cvssV4_0

{'score': 2.3, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
wolfSSL
Published
Updated
Sep 30, 2026, 10:48 AM
Reserved
Jul 10, 2026, 7:09 PM
Status
Analyzed
Published
Sep 27, 2026, 10:16 AM
Modified
Oct 2, 2026, 6:58 PM