Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Tasmota device on local network
-
DeliverySend crafted Device Groups UDP packet to port 4447
-
ExploitDrive log_remaining counter negative
-
ExecutionOverflow fixed 512-byte heap buffer
-
ImpactCrash device or execute native code
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer access bounds checking
|
| Exploitation Conditions | Exploitation requires that the Tasmota Device Groups feature is enabled/configured (it is a non-default group-coordination feature) and that the attacker can reach the device's UDP port 4447 on the local network segment - the description explicitly limits the attacker to 'the local network,' which is the primary limiting factor and narrows this below true Internet-facing exposure. No authentication is required (CVSS PR:N) and no user interaction is needed. The reliable impact is heap corruption leading to a device crash/DoS; the elevated outcome - native code execution - is a POTENTIAL, not guaranteed, result and is conditioned on the target running on ESP8266/ESP32 platforms that lack ASLR and heap cookies. Affected: Tasmota through 16.0.0; fixed in commit e97e1e4. |
| Impact | This is a genuine high-priority issue rather than a CVSS-inflated one, but with an important caveat about reachability. The signals mostly align toward urgency: the input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 9.3 with full high impact to confidentiality, integrity and availability, the vuln.today Decision label is act_now, a patch exists, and the flaw is a classic unauthenticated remote memory-corruption primitive (CWE-805) confirmed by source-level evidence in the vendor commit. However, the signals also conflict: the input CVSS marks AV:N (network), while the description explicitly scopes the attacker to 'the local network' sending Device Groups messages over UDP port 4447 - this is adjacent-network reachability, not Internet-wide, so the true attack surface is a shared LAN/segment, which lowers real-world exposure versus a pure AV:N reading. No EPSS score and no KEV status are present in the input, so exploitation probability and in-the-wild activity cannot be asserted; VulnCheck reported it and published an advisory, but that is an advisory reference, not confirmed working exploit code. The impact ceiling is also conditional: the commit confirms a reliable heap out-of-bounds write (strong DoS/crash), while native code execution is described by the source as only 'potentially' achievable and specifically on ESP8266/ESP32 targets that lack ASLR and heap cookies. Net: treat as act_now for any environment running Device Groups on an untrusted LAN, but recognize the practical risk is bounded by local-network access and by the Device Groups feature being enabled. |
| Exploit ScenarioDerived | An attacker already on the same local network (e.g. a compromised IoT device, a guest on shared Wi-Fi, or a malicious device on the segment) sends a crafted Device Groups message to UDP port 4447 of a Tasmota node. The malformed message drives the log_remaining counter negative so that logging writes exceed the fixed 512-byte heap buffer, corrupting heap memory. No authentication or user interaction is required; the reliable outcome is a device crash/reboot, with potential native code execution on ESP8266/ESP32 builds that lack ASLR and heap cookies. No confirmed public exploit code is present in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Heap out-of-bounds write in Tasmota's Device Groups message handler (SendReceiveDeviceGroupMessage) lets an unauthenticated attacker on the same local network corrupt heap memory by sending crafted Device Groups packets to UDP port 4447, reliably crashing the device and potentially achieving native code execution on ESP8266/ESP32 hardware that lacks ASLR and heap cookies. Every Tasmota build through 16.0.0 is affected, although exploitation requires the non-default Device Groups feature to be enabled and the attacker to be able to reach UDP/4447 on the local segment, which keeps exposure below internet-facing. No public exploit identified at time of analysis; an upstream fix is available in commit e97e1e4 and the issue is flagged for priority action (act_now) for devices with the feature enabled on shared networks.
RemediationAI
Treat this as a priority update: apply the upstream fix in commit e97e1e4f7e319a55caa1613aef1f25fc81bdb554 (https://github.com/arendst/Tasmota/commit/e97e1e4f7e319a55caa1613aef1f25fc81bdb554) or upgrade to a Tasmota release that incorporates it; because the fix is published as a source commit, confirm that the specific binary or build you deploy contains the bounded snprintf_P calls, the if (log_remaining > 1) guard on the literal write, and the non-incrementing terminator before considering a device remediated. Devices that do not use group coordination should simply leave the Device Groups feature disabled - it is not enabled by default and disabling it removes the vulnerable UDP/4447 handler entirely, at the cost of losing group sync functionality. Where the feature must stay on, restrict UDP port 4447 to trusted peers only, for example by segmenting IoT devices onto an isolated VLAN and blocking inbound 4447 from guest or general-user networks, since the attack requires local-segment reachability; the trade-off is that Device Groups messages must then traverse a controlled path or be dropped. Because ESP8266/ESP32 targets have no ASLR or heap cookies, do not rely on post-corruption hardening to prevent the potential code-execution outcome - preventing the malformed message from reaching the parser is the only effective control until the patched build is running.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Tasmota's Device Groups feature is a peer-coordination protocol that exchanges state messages between devices over UDP port 4447. The vulnerable routine, SendReceiveDeviceGroupMessage(), formats diagnostic text into a fixed 512-byte stack/heap log buffer while tracking the remaining space in a log_remaining counter. The flawed code uses an unbounded sprintf() for the initial segment and a series of length-tracking appends, including a raw single-byte write (*log_ptr++ = '*') guarded only by a post-decrement of log_remaining; because the length bookkeeping can drive log_remaining negative, the remaining-space value becomes effectively enormous and subsequent writes run past the end of the 512-byte buffer - a classic CWE-805 buffer access with incorrect length value. The upstream patch hardens exactly this pattern: the initial format call is bounded to 512 bytes, the follow-on appends are switched to the flash-string-safe snprintf_P variant, the literal '*' write is wrapped in an if (log_remaining > 1) guard, and the terminator is written as *log_ptr = 0 instead of *log_ptr++ = 0 so the pointer is no longer advanced past the buffer. The affected ecosystem is the ESP8266/ESP32 firmware family, which lacks ASLR and heap cookies; heap corruption there is most reliably a denial-of-service (device crash/reboot) and only potentially a route to native code execution, since the attacker's degree of control over the corrupted heap metadata is not established by the available sources.
Know when Tasmota gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description scopes the attacker to the local network (AV:A not AV:N); unauthenticated crafted UDP message with low complexity (PR:N/AC:L), yielding heap corruption with potential RCE so C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Tasmota through 16.0.0, fixed in commit e97e1e4, contains a heap out-of-bounds write vulnerability in SendReceiveDeviceGroupMessage() that allows unauthenticated attackers on the local network to corrupt heap memory by sending crafted Device Groups messages over UDP port 4447 that cause the log_remaining counter to go negative and writes to exceed the fixed 512-byte buffer. Attackers can exploit this flaw to crash the device or potentially achieve native code execution on ESP8266 and ESP32 platforms that lack ASLR and heap cookies.
Executive ViewAI
A critical vulnerability in Tasmota firmware, used widely in IoT and building automation devices, allows an unauthenticated attacker on the same local network to crash devices and potentially execute malicious code. This affects any Tasmota build through 16.0.0 when the optional Device Groups feature is enabled. Leadership should care because compromised devices could disrupt operations, expose sensitive network segments, or be co-opted into broader attacks, especially in shared or untrusted network environments.
Apply vendor patch. (Interim mitigations: disable Device Groups feature, block UDP port 4447 at network boundaries, and isolate affected devices on a dedicated VLAN until patching is complete.)
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Tasmota before commit 066878da4d4762a9b6cb169fdf353e804d735cfd was discovered to contain a stack overflow via the Client
Cross-site request forgery in Tasmota firmware through 16.0.0 lets an attacker who can lure a user on the device's local
EUVD-2026-120125
GHSA-6g2f-6p9p-vvm8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB