Skip to main content

Tasmota CVE-2026-119756

| EUVDEUVD-2026-120125 CRITICAL
Buffer Access with Incorrect Length Value (CWE-805)
2026-11-09 VulnCheck GHSA-6g2f-6p9p-vvm8
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Tasmota device on local network
  2. Delivery
    Send crafted Device Groups UDP packet to port 4447
  3. Exploit
    Drive log_remaining counter negative
  4. Execution
    Overflow fixed 512-byte heap buffer
  5. Impact
    Crash 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Tasmota 0 ≤16.0.0

Affected Packages

euvd tasmota no fix

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 8.8 HIGH

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.

3.1 AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
popular open-source ESP8266/ESP32 smart-home firmware, common in hobbyist/IoT but not enterprise
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy