HIGH 7.5

CVE-2026-55958: WolfSSL Renesas TSIP TLS 1.3 Out-of-Bounds Write DoS Vulnerability

A memory corruption vulnerability exists in WolfSSL's Renesas TSIP TLS 1.3 implementation that allows a remote attacker to crash a device by sending an oversized TLS handshake message. The underlying flaw occurs because the code checks whether incoming transcript data exceeds a fixed 8 KB buffer but neglects to stop processing after flagging the error—instead, it continues copying data anyway, writing beyond the buffer boundary. This heap corruption can trigger a denial of service on affected embedded systems. The vulnerability only manifests when using the specific Renesas TSIP hardware acceleration on compatible Renesas microcontrollers running WolfSSL with TLS 1.3 client mode enabled.

Source data · NVD / CISA · public domain

CVSS
3.1 · 7.5 HIGH · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses (CWE)
CWE-393, CWE-787
Affected products
1 configuration(s)
Published / Modified
2026-06-25 / 2026-06-26

NVD description (verbatim)

Out-of-bounds write in the Renesas TSIP TLS 1.3 transcript buffer. In tsip_StoreMessage() the capacity check guarding the fixed message bag (MSGBAG_SIZE) sets an error code but fails to return, so execution falls through to an XMEMCPY that writes past the end of the buffer once the accumulated TLS 1.3 handshake transcript exceeds MSGBAG_SIZE (8 KB), corrupting adjacent heap state and potentially causing a remote denial of service crash. The bag is sized to hold a normal handshake, so this is reached only by an unusually large but valid certificate chain, or by a malicious or man-in-the-middle server sending an oversized handshake message to a client that does not strictly verify the chain. This only affects builds using the Renesas TSIP TLS port (WOLFSSL_RENESAS_TSIP_TLS) as a TLS 1.3 client on Renesas MCUs with TSIP hardware enabled, and is rated High within those builds. All other configurations are unaffected.

2 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

The vulnerability resides in the tsip_StoreMessage() function within WolfSSL's Renesas TSIP TLS port. During TLS 1.3 handshake processing, accumulated transcript data is accumulated in a fixed-size buffer (MSGBAG_SIZE) with a capacity of 8 KB. The code contains a capacity check that sets an error condition when the buffer would overflow, but critically, the function fails to return after the check—control flow falls through to an XMEMCPY operation that executes the problematic copy regardless of the error state. Once the handshake transcript size exceeds 8 KB, the copy writes past the allocated buffer boundary into adjacent heap memory. This scenario can occur either through a legitimate but unusually large certificate chain or when a malicious or man-in-the-middle server transmits an oversized handshake message to a client that does not strictly validate certificate chain constraints. The issue is classified as CWE-787 (Out-of-bounds Write) with contributing factors in CWE-393 (Return of Wrong Status Code).

Business impact

Organizations deploying WolfSSL with Renesas TSIP hardware acceleration face localized denial of service risk across their embedded IoT, industrial, or automotive device fleets. An unauthenticated remote attacker positioned to intercept or control a TLS server response (whether through a compromised endpoint or network-level man-in-the-middle capability) can crash connected devices without authentication. For critical infrastructure, medical devices, or connected automotive systems relying on this configuration, unexpected device resets degrade availability and may trigger cascading safety or operational issues. The vulnerability does not enable data exfiltration or unauthorized access, but the DoS impact can be severe in time-sensitive or safety-critical deployments.

Affected systems

This vulnerability exclusively affects WolfSSL builds compiled with the WOLFSSL_RENESAS_TSIP_TLS configuration flag, deployed as a TLS 1.3 client on Renesas microcontrollers with TSIP (Trusted Secure IP) hardware enabled. Other WolfSSL configurations, including software-only TLS implementations and server-mode deployments, are unaffected. Systems using alternative TLS libraries or non-Renesas hardware acceleration are not impacted.

Exploitability

Exploitation is straightforward for a network-positioned attacker. The attack vector is network-based with low attack complexity—no user interaction or special privileges are required. An attacker must be able to present a crafted TLS server response with an oversized handshake message to the vulnerable client. This is easiest if the attacker controls a TLS endpoint (e.g., compromised or rogue server), but can also be achieved through man-in-the-middle interception of legitimate server communications. Clients that enforce strict certificate chain validation may mitigate exposure by rejecting excessively large chains before processing, but the vulnerability remains exploitable against clients with lenient chain size validation.

Remediation

Remediation requires patching WolfSSL to a version that corrects the tsip_StoreMessage() logic. The fix must ensure the function returns immediately upon detecting a buffer overflow condition, preventing the fallthrough to XMEMCPY. Verify the specific patched version against the Renesas and WolfSSL advisory releases. Additionally, configure client-side TLS validation to enforce reasonable limits on certificate chain size, and consider deploying network egress filters to limit the size of TLS handshake messages accepted from untrusted servers. Organizations should prioritize patching in production environments, especially for safety-critical or high-availability systems.

Patch guidance

Obtain and deploy the patched WolfSSL release from the official WolfSSL repository or Renesas security advisory. The patch must be verified against the vendor's official CVE advisory to confirm the specific version numbers addressing this flaw. Recompile affected firmware with the corrected WolfSSL library, ensuring the WOLFSSL_RENESAS_TSIP_TLS flag remains properly configured during the build. Test patched firmware in a staging environment against representative TLS server configurations before production rollout. For OEM customers, coordinate with Renesas to obtain updated reference implementations and firmware images.

Detection guidance

Monitor Renesas MCU devices running WolfSSL for unexpected reboots, reset codes, or heap corruption signatures in debug logs. Network-level detection is difficult because oversized handshake messages can appear superficially legitimate; however, security teams can flag TLS server responses that include unusually large certificate chains or handshake payloads by configuring network sensors or proxies to log and alert on handshake sizes exceeding reasonable thresholds (e.g., >5 MB). Correlation of device crashes with TLS connection attempts to specific remote servers may indicate exploitation attempts. Enable verbose logging in WolfSSL builds to capture transcript size errors (if logging is available in the configuration).

Why prioritize this

This vulnerability merits immediate attention for organizations deploying the specific Renesas TSIP TLS configuration, despite its narrow scope. The CVSS score of 7.5 (HIGH) reflects high exploitability and denial of service impact. Although the affected population is limited to a specialized embedded TLS configuration, the consequences—remote crash of distributed devices with no authentication required—can be severe in critical infrastructure, industrial IoT, and automotive applications. The vulnerability is readily exploitable by a network attacker, and patching is the only reliable remediation path.

Risk score, explained

The CVSS 3.1 score of 7.5 (HIGH) is derived from: Network attack vector (AV:N), low attack complexity (AC:L), no privilege requirement (PR:N), no user interaction (UI:N), unchanged scope (S:U), and high availability impact (A:H). The absence of confidentiality and integrity impact (C:N/I:N) reflects that the vulnerability causes denial of service rather than data compromise. The HIGH severity is appropriate for the affected Renesas TSIP TLS builds, where remote unauthenticated denial of service is a serious operational risk. However, the overall population impact is tempered by the requirement for the specific WOLFSSL_RENESAS_TSIP_TLS configuration; organizations using standard WolfSSL or other TLS libraries face no risk.

Frequently asked questions

Does this vulnerability affect my deployment if I'm using WolfSSL as a TLS 1.2 client or as a server?

No. The vulnerability is specific to TLS 1.3 client implementations using the Renesas TSIP hardware acceleration (WOLFSSL_RENESAS_TSIP_TLS configuration). TLS 1.2 client deployments, server-mode configurations, and non-Renesas TLS stacks are not affected.

Can an attacker steal data or modify encrypted traffic using this vulnerability?

No. This vulnerability results only in denial of service (device crash) by corrupting heap memory. It does not enable confidentiality or integrity breaches. An attacker cannot decrypt, view, or modify TLS-protected data.

What is the minimum size of a certificate chain needed to trigger this vulnerability?

The transcript buffer holds 8 KB of accumulated handshake data. The exact trigger point depends on the size of other handshake components, but the vulnerability occurs when the total transcript exceeds this 8 KB boundary. A certificate chain of roughly 7 KB or larger, combined with other handshake messages, can reach the threshold.

If I'm using WolfSSL but uncertain whether WOLFSSL_RENESAS_TSIP_TLS is enabled, how can I check?

Review your WolfSSL build configuration file or compiler flags used during compilation. Search for WOLFSSL_RENESAS_TSIP_TLS in your user_settings.h or build scripts. If this flag is not explicitly defined and you are not building on Renesas hardware with TSIP, the vulnerability does not affect you. Contact your vendor or build engineer if uncertain.

This analysis is current as of the published date and based on the CVE record and vendor advisory information available at that time. Exploit code, weaponized proof-of-concept demonstrations, or step-by-step attack instructions are not provided. Organizations should verify patch availability and version numbers directly from WolfSSL and Renesas official security advisories before deployment. This vulnerability assessment assumes accurate configuration and deployment information; misconfiguration or undocumented custom builds may alter risk profile. Consult with your TLS vendor, Renesas support, or internal security team for environment-specific guidance. SEC.co does not guarantee the accuracy, completeness, or timeliness of third-party vulnerability data and makes no warranty regarding the suitability of any remediation recommendation for your specific infrastructure. Source: NVD (public-domain), retrieved 2026-08-04. Analysis generated by SEC.co (claude-haiku-4-5).