<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>renesas on SecMate Blog</title><link>https://blog.secmate.dev/tags/renesas/</link><description>What we find. What we share.</description><generator>Hugo</generator><language>en-us</language><managingEditor>noreply@blog.secmate.dev//blog.secmate.dev/ (SecMate Team)</managingEditor><lastBuildDate>Sat, 25 Jul 2026 09:06:45 +0000</lastBuildDate><atom:link href="https://blog.secmate.dev/tags/renesas/index.xml" rel="self" type="application/rss+xml"/><item><title>Memory Safety Vulnerabilities in Renesas FSP Cryptographic and Networking Code</title><link>https://blog.secmate.dev/posts/renesas-fsp-vulnerabilities/</link><pubDate>Thu, 23 Apr 2026 04:00:00 +0000</pubDate><dc:creator>Maxime Rossi Bellom</dc:creator><dc:creator>Ramtine Tofighi Shirazi</dc:creator><category>Security</category><category>Vulnerability Research</category><category>Embedded</category><guid>https://blog.secmate.dev/posts/renesas-fsp-vulnerabilities/</guid><description>SecMate found seven vulnerabilities in Renesas FSP, including flaws in RSA verification, AES-XTS finalization, GCM decrypt handling, and the RMAC receive path.</description><content:encoded><![CDATA[<h1 id="memory-safety-vulnerabilities-in-renesas-fsp-cryptographic-and-networking-code">Memory Safety Vulnerabilities in Renesas FSP Cryptographic and Networking Code</h1>
<p>SecMate found seven vulnerabilities in Renesas FSP <a href="#ref1">[1]</a>
, the Flexible Software Package for Renesas RA microcontrollers <a href="#ref2">[2]</a>
. FSP is the vendor software stack for RA devices and bundles BSP code, HAL drivers, middleware, and security integrations, including hardware-backed cryptography and Mbed TLS support.</p>
<img src="/images/renesas-architecture.svg" alt="FSP layered architecture: BSP, HAL drivers, middleware, security modules, and RTOS support" style="width: 100%; max-width: 800px; height: auto; margin: 1.5rem auto; display: block;">
<p>In the <code>v6.1.0</code> FSP codebase we analyzed at commit <code>ed247f90fb9bc390ebd36f1a0b7847b0ff44f322</code> <a href="#ref3">[3]</a>
, we found issues in RSA verification, the hardware-accelerated AES-XTS path, GCM decrypt handling, and the RMAC receive path. These are implementation flaws in FSP integration code around hardware-backed cryptography and networking. They are not flaws in AES, GCM, CCM, XTS, or RSA as algorithms.</p>
<h2 id="advisory-map">Advisory Map</h2>
<table>
<thead>
<tr>
<th>Area</th>
<th>Vulnerability</th>
<th>SecMate Advisory</th>
<th>Renesas Advisory</th>
</tr>
</thead>
<tbody>
<tr>
<td>RMAC</td>
<td>Read buffer overflow in <code>r_rmac.c</code></td>
<td><a href="https://secmate.dev/disclosures/SECMATE-2025-0021?utm_source=blog&amp;utm_medium=body&amp;utm_campaign=renesas-fsp-vulnerabilities&amp;utm_content=security" rel="noopener noreferrer" target="_blank" data-cta-type="body_disclosures" data-post-slug="renesas-fsp-vulnerabilities" data-post-category="security">SECMATE-2025-0021</a>
</td>
<td><a href="https://github.com/renesas/fsp/issues/431" rel="noopener noreferrer" target="_blank">renesas/fsp#431</a>
</td>
</tr>
<tr>
<td>RSA</td>
<td>Signature verification pointer underflow in <code>r_sce_rsa.c</code></td>
<td><a href="https://secmate.dev/disclosures/SECMATE-2025-0019?utm_source=blog&amp;utm_medium=body&amp;utm_campaign=renesas-fsp-vulnerabilities&amp;utm_content=security" rel="noopener noreferrer" target="_blank" data-cta-type="body_disclosures" data-post-slug="renesas-fsp-vulnerabilities" data-post-category="security">SECMATE-2025-0019</a>
</td>
<td><a href="https://github.com/renesas/fsp/issues/423" rel="noopener noreferrer" target="_blank">renesas/fsp#423</a>
</td>
</tr>
<tr>
<td>AES-XTS</td>
<td>Encrypt and decrypt finalization overflows in <code>aes_alt_process.c</code></td>
<td><a href="https://secmate.dev/disclosures/SECMATE-2025-0020?utm_source=blog&amp;utm_medium=body&amp;utm_campaign=renesas-fsp-vulnerabilities&amp;utm_content=security" rel="noopener noreferrer" target="_blank" data-cta-type="body_disclosures" data-post-slug="renesas-fsp-vulnerabilities" data-post-category="security">SECMATE-2025-0020</a>
</td>
<td><a href="https://github.com/renesas/fsp/issues/427" rel="noopener noreferrer" target="_blank">renesas/fsp#427</a>
</td>
</tr>
<tr>
<td>GCM</td>
<td>Tag length buffer overflow in <code>gcm_alt_process.c</code></td>
<td><a href="https://secmate.dev/disclosures/SECMATE-2025-0022?utm_source=blog&amp;utm_medium=body&amp;utm_campaign=renesas-fsp-vulnerabilities&amp;utm_content=security" rel="noopener noreferrer" target="_blank" data-cta-type="body_disclosures" data-post-slug="renesas-fsp-vulnerabilities" data-post-category="security">SECMATE-2025-0022</a>
</td>
<td><a href="https://github.com/renesas/fsp/issues/428" rel="noopener noreferrer" target="_blank">renesas/fsp#428</a>
</td>
</tr>
<tr>
<td>CCM</td>
<td>Tag length buffer overflow in <code>ccm_alt_process.c</code></td>
<td><a href="https://secmate.dev/disclosures/SECMATE-2025-0023?utm_source=blog&amp;utm_medium=body&amp;utm_campaign=renesas-fsp-vulnerabilities&amp;utm_content=security" rel="noopener noreferrer" target="_blank" data-cta-type="body_disclosures" data-post-slug="renesas-fsp-vulnerabilities" data-post-category="security">SECMATE-2025-0023</a>
</td>
<td><a href="https://github.com/renesas/fsp/issues/430" rel="noopener noreferrer" target="_blank">renesas/fsp#430</a>
</td>
</tr>
<tr>
<td>CCM adaptor</td>
<td>MAC length buffer overflow in <code>r_sce_AES_adapt.c</code></td>
<td><a href="https://secmate.dev/disclosures/SECMATE-2025-0024?utm_source=blog&amp;utm_medium=body&amp;utm_campaign=renesas-fsp-vulnerabilities&amp;utm_content=security" rel="noopener noreferrer" target="_blank" data-cta-type="body_disclosures" data-post-slug="renesas-fsp-vulnerabilities" data-post-category="security">SECMATE-2025-0024</a>
</td>
<td><a href="https://github.com/renesas/fsp/issues/429" rel="noopener noreferrer" target="_blank">renesas/fsp#429</a>
</td>
</tr>
</tbody>
</table>
<p>The AES-XTS advisory covers two findings, one in the encrypt finalization path and one in the decrypt finalization path.</p>
<h2 id="affected-builds-and-use-cases">Affected Builds and Use Cases</h2>
<p>SecMate&rsquo;s published disclosure advisories are available on the SecMate disclosures page <a href="#ref4">[4]</a>
. The table above links both the SecMate advisory and the corresponding Renesas public advisory for each vulnerability group.</p>
<p>These cryptography-related findings do not apply to every RA build. In FSP, the accelerated AES and AEAD paths are compiled for devices with <code>SCE5</code>, <code>SCE5B</code>, <code>SCE7</code>, <code>SCE9</code>, or <code>RSIP</code> support, and the XTS path is excluded on <code>RA2</code> parts.</p>
<p>In downstream products, these APIs may be used for signature verification, authenticated decryption, encrypted storage, firmware update, or other security-sensitive processing. Exposure therefore depends on whether untrusted inputs can reach those wrappers.</p>
<p>The RMAC finding is separate from the cryptographic code paths. It affects products using the Ethernet receive API if application code provides a buffer smaller than the received frame.</p>
<p>Renesas PSIRT acknowledged the reports and published public advisories on GitHub.</p>
<h2 id="recommendations">Recommendations</h2>
<ul>
<li>If you use affected RA builds, review the Renesas advisories and update to <code>FSP v6.3.0</code> or later.</li>
<li>In downstream products, check whether untrusted inputs can reach FSP wrappers used for signature verification, authenticated decryption, encrypted storage, or firmware update handling.</li>
<li>Add negative tests for malformed signatures, AEAD metadata, XTS lengths, and oversized Ethernet frames.</li>
<li>If you use <code>r_rmac</code>, verify that receive buffers are sized for the largest frame your product accepts.</li>
</ul>
<h2 id="timeline">Timeline</h2>
<div style="position: relative; padding-left: 1.5rem; margin: 1.5rem 0;">
  <div style="position: absolute; left: 0.35rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--color-border);"></div>
  <div style="position: relative; padding-bottom: 1.25rem;">
    <div style="position: absolute; left: -1.15rem; top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); border: 2px solid var(--color-bg);"></div>
    <div style="font-size: 0.75rem; color: var(--color-text-secondary); font-weight: 600;">October 20, 2025</div>
    <div style="color: var(--color-text);">SecMate reports the seven FSP vulnerabilities against commit <code>ed247f90fb9bc390ebd36f1a0b7847b0ff44f322</code> (<code>v6.1.0</code>).</div>
  </div>
  <div style="position: relative; padding-bottom: 1.25rem;">
    <div style="position: absolute; left: -1.15rem; top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--color-text-secondary); border: 2px solid var(--color-bg);"></div>
    <div style="font-size: 0.75rem; color: var(--color-text-secondary); font-weight: 600;">December 18, 2025</div>
    <div style="color: var(--color-text);">Renesas releases <code>FSP v6.3.0</code>, which contains the public fixes <a href="#ref5">[5]</a>.</div>
  </div>
  <div style="position: relative; padding-bottom: 1.25rem;">
    <div style="position: absolute; left: -1.15rem; top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--color-text-secondary); border: 2px solid var(--color-bg);"></div>
    <div style="font-size: 0.75rem; color: var(--color-text-secondary); font-weight: 600;">February 4, 2026</div>
    <div style="color: var(--color-text);">Renesas confirms that the FSP disclosure track covered all seven reported FSP vulnerabilities and that each would receive its own advisory.</div>
  </div>
  <div style="position: relative;">
    <div style="position: absolute; left: -1.15rem; top: 0.35rem; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; border: 2px solid var(--color-bg);"></div>
    <div style="font-size: 0.75rem; color: var(--color-text-secondary); font-weight: 600;">February 10, 2026</div>
    <div style="color: var(--color-text);">Renesas tells SecMate the public FSP advisories were published on GitHub.</div>
  </div>
</div>
<h2 id="takeaway">Takeaway</h2>
<p>The common thread is not broken cryptography. It is memory safety in the FSP code that exposes cryptographic and Ethernet functionality to RA applications. Hardware-backed cryptography still depends on the surrounding integration code.</p>
<p>For the full list of our disclosures, see our disclosure page <a href="#ref4">[4]</a>
. If you are building embedded systems and want to find vulnerabilities before attackers do, <a href="https://secmate.dev/register?utm_source=blog&amp;utm_medium=body&amp;utm_campaign=renesas-fsp-vulnerabilities&amp;utm_content=security" rel="noopener noreferrer" target="_blank" data-cta-type="body_register" data-post-slug="renesas-fsp-vulnerabilities" data-post-category="security">reach out</a>
.</p>
<h2 id="references">References</h2>
<ul>
<li>
<p><a id="ref1"></a>[1] Renesas. &ldquo;Renesas Flexible Software Package.&rdquo; <em>GitHub</em>. <a href="https://github.com/renesas/fsp" rel="noopener noreferrer" target="_blank">Repository</a>
</p>
</li>
<li>
<p><a id="ref2"></a>[2] Renesas. &ldquo;Renesas Flexible Software Package Documentation.&rdquo; <a href="https://renesas.github.io/fsp/" rel="noopener noreferrer" target="_blank">Documentation</a>
</p>
</li>
<li>
<p><a id="ref3"></a>[3] Renesas. &ldquo;FSP v6.1.0 analyzed commit&rdquo; (<code>ed247f90fb9bc390ebd36f1a0b7847b0ff44f322</code>). <a href="https://github.com/renesas/fsp/commit/ed247f90fb9bc390ebd36f1a0b7847b0ff44f322" rel="noopener noreferrer" target="_blank">Commit</a>
</p>
</li>
<li>
<p><a id="ref4"></a>[4] SecMate. &ldquo;Disclosures.&rdquo; <a href="https://secmate.dev/disclosures?utm_source=blog&amp;utm_medium=body&amp;utm_campaign=renesas-fsp-vulnerabilities&amp;utm_content=security" rel="noopener noreferrer" target="_blank" data-cta-type="body_disclosures" data-post-slug="renesas-fsp-vulnerabilities" data-post-category="security">Disclosure page</a>
</p>
</li>
<li>
<p><a id="ref5"></a>[5] Renesas. &ldquo;FSP v6.3.0.&rdquo; <em>GitHub Releases</em>. <a href="https://github.com/renesas/fsp/releases/tag/v6.3.0" rel="noopener noreferrer" target="_blank">Release</a>
</p>
</li>
</ul>
<hr>
<p><em>The SecMate Team</em></p>
]]></content:encoded><media:content url="https://blog.secmate.dev/images/og_image.jpg" medium="image"/></item></channel></rss>