<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Cve-2026-38422 — CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/tags/cve-2026-38422/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Mon, 25 May 2026 11:01:54 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/tags/cve-2026-38422/feed.xml" rel="self" type="application/rss+xml"/><item><title>Arendst Tasmota CVE-2026-38422 Remote Code Execution</title><link>https://feed.craftedsignal.io/briefs/2026-05-cve-2026-38422-tasmota-rce/</link><pubDate>Mon, 25 May 2026 11:01:54 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-05-cve-2026-38422-tasmota-rce/</guid><description>A public exploit is available for CVE-2026-38422, a critical remote code execution vulnerability in Arendst Tasmota affecting devices running version &lt;= 15.3.0.3 with scripter support enabled via combined buffer overflows in the `fetch_jpg()` function.</description><content:encoded><![CDATA[<p>A public exploit has been released for CVE-2026-38422, a critical remote code execution vulnerability affecting Arendst Tasmota devices. The vulnerability resides in the <code>fetch_jpg()</code> function and arises from combined buffer overflows, leading to potential device takeover, access to sensitive device secrets/credentials, and a guaranteed denial-of-service condition through a crash/reboot loop. The vulnerability was reported to MITRE on March 29, 2026, and CVE-2026-38422 was assigned. A patch was released by Tasmota in version 15.3.0.4. This exploit poses a significant threat to Tasmota devices running vulnerable versions with scripter support enabled that use <code>fetchjp()</code> to connect to external MJPEG servers, as it allows an attacker to execute arbitrary code remotely.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>The attacker identifies a vulnerable Tasmota device running a script that uses the <code>fetchjp()</code> function.</li>
<li>The attacker sets up a malicious server on ATTACKER_IP, designed to exploit the vulnerability.</li>
<li>The Tasmota device, through its script, initiates a connection to the attacker&rsquo;s server (ATTACKER_IP:8887/stream) using the <code>fetchjp()</code> function.</li>
<li><strong>Phase 1:</strong> The attacker&rsquo;s server sends an HTTP 200 OK response with a boundary string of 80 characters, triggering an overflow in the boundary buffer.</li>
<li><strong>Phase 2:</strong> The attacker&rsquo;s server sends MJPEG frames with a <code>Content-Length</code> of 65537 bytes, causing an integer wraparound due to the uint16_t size variable, resulting in <code>malloc(1)</code> and <code>readBytes(buff, 1)</code>.</li>
<li>The remaining 65536 bytes in the stream cause a heap/stream corruption.</li>
<li>This double corruption leads to remote code execution on the ESP32 device, or a guaranteed denial-of-service (DoS) condition.</li>
<li>The attacker gains full control of the device, including access to device secrets/credentials, or causes a continuous crash/reboot loop rendering the device unusable.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of CVE-2026-38422 allows for complete device takeover, exposing sensitive information, and causing a guaranteed crash or reboot loop. Any ESP32-based Tasmota device running version &lt;= 15.3.0.3 with scripter support enabled and a script using <code>fetchjp()</code> is at risk. This can lead to significant disruption of services reliant on these devices, data breaches, and compromised device functionality. The CVSS score of 9.8 reflects the critical severity of this vulnerability.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade all Tasmota devices to version 15.3.0.4 or later to patch CVE-2026-38422.</li>
<li>Disable scripter support on Tasmota devices if it is not required, to mitigate the risk of <code>fetchjp()</code> exploitation.</li>
<li>Monitor network traffic for connections initiated by Tasmota devices to unusual or untrusted external servers, using network connection monitoring and firewall logs (category <code>network_connection</code>, <code>firewall</code>).</li>
<li>Deploy the Sigma rule &ldquo;Detect Tasmota fetchjp() Command Execution&rdquo; to identify potentially malicious use of the <code>fetchjp()</code> command in Tasmota scripts.</li>
<li>Inspect Tasmota device logs (if available) for error messages related to memory corruption or crashes after connecting to external MJPEG streams.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>cve-2026-38422</category><category>tasmota</category><category>rce</category><category>denial-of-service</category></item></channel></rss>