Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPosition as or impersonate MQTT broker
-
DeliveryDevice initiates MQTT connection
-
ExploitSend crafted MQTT packet
-
ExecutionTrigger out-of-bounds write in client
-
PersistCorrupt memory / hijack control flow
-
ImpactExecute arbitrary code on device
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) the target device to be running the lwIP TCP/IP stack's optional MQTT client module, and (2) the attacker to control or impersonate the MQTT broker that client connects to - either by operating a malicious broker the device is configured to reach, compromising the legitimate broker, or taking a man-in-the-middle position on the client-to-broker path (feasible where TLS is absent or unverified). Because MQTT is client-initiated, the device is not directly reachable inbound, so the attacker cannot simply scan and hit it; the limiting factor is achieving broker control/MITM. No authentication or user interaction is needed once that position is held. No specific affected version is published, so version-based scoping is not possible. |
| Impact | The vendor CVSS 4.0 score of 9.3 (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) presents this as a trivially exploitable unauthenticated remote code execution flaw, but the mechanism materially qualifies that headline. The out-of-bounds write is in the lwIP MQTT *client*, and MQTT is a client-initiated protocol: the affected device dials out to a broker rather than accepting inbound connections. Practical exploitation therefore requires the attacker to operate or impersonate the broker the device connects to (a malicious/compromised broker or a man-in-the-middle position), which is a real precondition the AC:L/AT:N vector does not reflect - I assess this closer to AC:H (3.1) / AT:P (4.0). Exploitation status: no public exploit identified at time of analysis - there is no EPSS score, no CISA KEV listing, and no published POC. The signal set is thus internally consistent only in impact (memory corruption → code execution is credible for an OOB write) but the ease-of-attack metrics are optimistic. This is a genuinely serious issue for any device running the lwIP MQTT client against an untrusted or spoofable broker, but it is not a mass-scannable, spray-and-pray internet vulnerability; treat it as a high-impact-but-conditionally-exploitable ICS/IoT patch priority rather than an actively-exploited emergency. |
| Exploit ScenarioDerived | An attacker who controls the MQTT broker an embedded device connects to - or who can man-in-the-middle that connection on the network path - returns a crafted MQTT response (e.g. malformed CONNACK/PUBLISH/topic or length field) that overflows a buffer in the lwIP MQTT client. The out-of-bounds write corrupts memory and is leveraged to achieve full code execution on the device. No public POC or exploit code has been identified, and the attack is gated on the device actively using the MQTT client and reaching an attacker-influenced broker. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 22, 2026
An out-of-bounds write in the MQTT client module of the lwIP TCP/IP stack lets an adversary who controls or impersonates the MQTT broker that a device connects to corrupt heap/stack memory and potentially achieve full code execution on that device. Only devices built with lwIP's optional MQTT client compiled in are exposed, and because MQTT connections are client-initiated the device is not directly reachable inbound: the attacker must operate a malicious broker, compromise the legitimate broker, or hold a man-in-the-middle position on the client-to-broker path (feasible where TLS is absent or certificate validation is disabled). No authentication or user interaction is required once that broker-side position is achieved, but no public exploit code has been identified at time of analysis and no CISA KEV listing exists; the vendor CVSS 4.0 score of 9.3 (AV:N/AC:L/AT:N) presents this as trivially exploitable, whereas the assessed CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) reflects the significant broker-control/MITM prerequisite.
Earlier versions of this analysis (1)
Out-of-bounds write in the optional MQTT client module of the lwIP TCP/IP stack can allow an attacker who controls, has compromised, or can inject into the MQTT broker session of an affected device to corrupt memory and achieve full code execution on that device. The carrier CVSS of 9.8 reflects a fully remote, unauthenticated, total-impact outcome, but the assessed vector (AV:N/AC:H/PR:N/UI:N) and exploitation conditions indicate the practical barrier is higher: the device must have the MQTT client compiled in and actively connecting, and the attacker must control the broker it talks to, be positioned to man-in-the-middle or inject into the session (facilitated by plaintext MQTT without TLS), or have compromised a legitimate broker. No public exploit code and no confirmed active exploitation were identified at time of analysis, and devices that omit the MQTT module or only connect to trusted brokers over authenticated TLS are substantially harder to exploit.
RemediationAI
No vendor-released patch is identified in the available intelligence; the primary action is to monitor CISA ICSA-26-265-01 (https://www.cisa.gov/news-events/ics-advisories/icsa-26-265-01) and the upstream lwIP project at https://savannah.nongnu.org/projects/lwip for an upstream commit or release containing the bounds-check fix, and to track downstream firmware vendors for updated images. Where MQTT telemetry is not required, the most effective compensating control is to rebuild firmware with the MQTT client compiled out (LWIP_MQTT disabled), which removes the attack surface entirely at the cost of losing MQTT-based telemetry and control; if MQTT must remain enabled, enforce TLS with strict broker certificate validation and pinning so an attacker cannot impersonate or MITM the broker - note that deployments which disable or skip certificate verification gain no protection from this control. Further harden by restricting device egress at the firewall/DNS level so clients can only reach a single hardened, trusted broker, placing that broker on a segmented management VLAN with strict ACLs, and alerting on unusually large or malformed PUBLISH/CONNACK frames hitting the broker, accepting the trade-off of reduced network flexibility and additional broker-side operational effort. These controls reduce exposure but do not correct the underlying memory-safety defect in the lwIP MQTT parser.
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
lwIP (lightweight IP) is a widely used open-source TCP/IP stack for resource-constrained embedded and IoT platforms, maintained under the Savannah lwip project, where the MQTT client is an optional application-layer module. The flaw is an out-of-bounds write (CWE-787) triggered by parsing broker-supplied MQTT protocol data - typical candidates are oversized or malformed CONNACK, PUBLISH or SUBACK control packets, or crafted topic/payload lengths, being copied into fixed-size receive buffers without adequate bounds checking. Because the vulnerable code sits in the client's receive path, the attacker's input vector is the broker side of the session rather than a directly addressable listener, which is why the assessed vector carries AC:H rather than the vendor's AC:L. The CPE string cpe:2.3:a:lwip:tcp/ip_stack_mqtt:*:*:*:*:*:*:*:* confirms the affected component is the lwIP TCP/IP Stack MQTT and, with a wildcard version element, indicates no specific affected release range has been published, so version-based scoping of deployments is not possible from the available intelligence. Memory corruption of this class can allow controlled overwriting of adjacent data structures, enabling arbitrary code execution with the privileges of the MQTT client task, consistent with the C:H/I:H/A:H impact assessment and the RCE / Buffer Overflow / Memory Corruption tags assigned by ICS-CERT.
Know when Lwip 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
AC:H because the attacker must control or impersonate the broker the client dials out to (MITM/malicious broker); PR:N/UI:N as no creds or interaction needed, full memory-corruption RCE gives C/I/A:H.
Primary rating from Vendor (icscert).
CVSS VectorVendor: icscert
Lifecycle Timeline
3DescriptionCVE.org
lwIP TCP/IP Stack MQTT is vulnerable to an out-of-bounds write, which may allow an attacker to gain full code execution on the device.
Executive ViewAI
A critical memory-corruption flaw in the lwIP TCP/IP stack's MQTT client module affects any product our organization or our customers deploy with that optional component compiled in, allowing an attacker who controls or impersonates the MQTT broker to potentially execute arbitrary code on the device without credentials or user interaction. The exposure is limited to fleets that speak MQTT to a broker, and the practical risk concentrates on devices using plaintext MQTT or with TLS certificate validation disabled, since those connections can be intercepted or redirected. Because no vendor-released patch exists today, leadership should treat this as a sustained risk to embedded and IoT product lines rather than a short-term patch cycle, with downstream customer and regulatory exposure if affected devices are fielded.
No vendor-released patch identified at time of analysis. Interim mitigations: remove or disable the optional lwIP MQTT client from build configurations where it is not required; enforce TLS with strict certificate validation and broker identity pinning so a malicious, impersonated, or man-in-the-middle broker cannot complete a session; restrict device outbound network access to an allowlist of trusted broker endpoints; segment MQTT-connected devices away from higher-value networks; and monitor broker certificate and MQTT session anomalies for signs of interception.
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.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Double-free memory corruption in the lwIP (Lightweight IP) stack's API layer lets an unauthenticated attacker on an adja
Stack-based buffer overflow in lwIP's SNMPv3 USM handler exposes embedded and IoT devices running versions 2.1.0 through
An out-of-bounds read in lwIP 2.0.0 through 2.2.1 builds that include the optional SNMP agent lets remote unauthenticate
Stack-based out-of-bounds write in lwIP's mDNS response handler affects lwIP through 2.2.1 when the optional mDNS applic
resolv.c in the DNS resolver in uIP, and dns.c in the DNS resolver in lwIP 1.4.1 and earlier, does not use random values
EUVD-2026-84816
GHSA-h8q6-7rjx-3m2r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB