Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach device's SMTP client traffic
-
DeliveryDeliver oversized SMTP input/response
-
ExploitOverflow unchecked buffer in lwIP SMTP parser
-
ExecutionCorrupt memory / hijack control flow
-
ImpactExecute code or crash device
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target's lwIP build has the optional SMTP client application module (apps/smtp) compiled in and in active use for sending email - this is not part of the core lwIP TCP/IP stack and is off by default in many builds. The overflow is reached through unchecked input sizes handled by the client, meaning an attacker generally needs to control the SMTP server the device talks to (or the server must be compromised/MITM'd) or control the email field data (recipient, subject, body) passed to the client. Limiting factors: the vulnerable code path only exists when the SMTP app is enabled, the device must initiate or perform SMTP transactions, and the specific affected lwIP version is not confirmed in the provided data (CPE version is wildcard). |
| Impact | This is a stack/heap buffer overflow (CWE-120) in the lwIP SMTP client application module, rated 9.3 under CVSS 4.0 (AV:N/AC:L/AT:N/PR:N/UI:N) with high confidentiality, integrity, and availability impact to the vulnerable system - consistent with memory corruption leading to potential remote code execution or crash on resource-constrained embedded/OT devices. The exploitation signals are notably sparse: there is no EPSS score provided, no CISA KEV listing, and no public POC in the supplied data, so this is 'no public exploit identified at time of analysis' rather than active exploitation. The high score is driven by the CVSS vector's assumption of remote, unauthenticated, no-interaction reachability, but the description ('SMTP client does not check the size of inputs') implies the overflow is triggered via data the client processes - typically oversized responses from the SMTP server the device connects to, or oversized caller-supplied email fields - which in practice requires the SMTP client feature to be compiled in and actively sending mail, and often a malicious or compromised mail server in the path. This is a genuine priority for the specific subset of embedded/OT devices that enable lwIP's optional SMTP client, but the AV:N/UI:N rating likely overstates ease of reach for a client-side component; the real-world exposure is narrower than the raw 9.3 suggests. Key missing data: no EPSS, no KEV, no POC, and no confirmed fixed version in the provided references. |
| Exploit ScenarioDerived | An OT/IoT device running lwIP with the optional SMTP client enabled connects to a mail server (or is directed to an attacker-controlled one) to send alert emails. The malicious server returns an oversized response, or an oversized recipient/subject field is passed into the client, overflowing a fixed-size buffer and corrupting memory to crash the device or execute attacker code. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 09, 2026
Buffer overflow in the optional lwIP SMTP client application module lets an unauthenticated remote attacker corrupt memory by supplying oversized input that the client fails to length-check, yielding high confidentiality, integrity, and availability impact on embedded and OT devices that use the module. The vendor-supplied CVSS 4.0 score is 9.3 (AV:N/AC:L/AT:N/PR:N/UI:N), while our independent assessment rates it CVSS 3.1 AV:N/AC:H/PR:N/UI:N because successful exploitation requires the optional apps/smtp module to be compiled into the build and actively used, and generally requires the attacker to control the SMTP server the device talks to (or to be positioned to MITM that session) or to control the email field data (recipient, subject, body) handed to the client. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the affected version is a wildcard in the CPE, so the precise vulnerable lwIP releases remain unconfirmed; the issue is tracked through the ICS-CERT advisory ICSA-26-279-02 and its CSAF machine-readable counterpart.
RemediationAI
No vendor-released patch was identified at time of analysis, so the primary action is to remove the exposure: in any lwIP-based firmware you control, disable the optional SMTP client module in the build configuration (omit apps/smtp from the makefile and turn off its enabling lwipopts.h option, or define LWIP_SMTP=0 and exclude smtp.c so the vulnerable code path is not linked in) and rebuild; this is the most reliable mitigation but permanently removes embedded email-sending capability and requires a firmware update cycle. Where the SMTP client cannot be removed, enforce strict egress filtering so devices can only reach an explicitly trusted internal mail relay on ports 25/587, which blocks the malicious-server and internet-facing MITM path but does not protect against a compromised internal relay or an attacker with on-path access to that segment; segment the devices on a dedicated VLAN and use encrypted transport where the stack supports it, understanding that many lwIP SMTP client builds send plaintext and gain no confidentiality from this step. Additionally, audit the invoking application so that recipient, subject, and body strings are length-bounded and never derived directly from untrusted network input, which closes the application-supplied input vector but requires code changes. Because the advisory is ICS-CERT-tracked, apply the vendor/OEM firmware update as soon as it is published and monitor ICSA-26-279-02 and the CSAF feed for the revised advisory with fixed version and mitigation details.
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 small-footprint TCP/IP stack widely deployed on resource-constrained embedded and industrial/OT devices, and the SMTP client is an optional application-layer module (apps/smtp) rather than part of the core stack, so it is compiled in only when a build explicitly enables it. The flaw is a classic CWE-120 buffer copy without checking size of input: data taken in by the client is copied into fixed-size buffers without validating its length, allowing a write past the end of the buffer when the input is larger than expected. The reachable input surface spans SMTP protocol responses/negotiation handled by the client and the email field content (recipient, subject, body) supplied by the invoking application, which means the practical attack path is either a malicious or compromised SMTP server the device communicates with, an on-path attacker who can modify that plaintext SMTP session, or an application that passes attacker-influenced strings into the client. Because the CPE cpe:2.3:a:savannah:lwip_smtp_client carries a wildcard version, the affected release range is not pinned down by the provided intelligence, and impact is confined to the vulnerable system (S:U in our assessment) rather than extending into downstream components. The ICS-CERT origin of the report signals that the primary exposure is in embedded and industrial control deployments rather than general-purpose enterprise servers.
Know when Lwip Smtp Client 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
Memory corruption yields full C/I/A impact, but as a client-side flaw reachable only via a malicious/compromised SMTP server or crafted inputs, AC:H reflects the required attacker-controlled interaction.
Primary rating from Vendor (icscert).
CVSS VectorVendor: icscert
Lifecycle Timeline
2DescriptionCVE.org
lwIP SMTP client does not check the size of inputs, potentially allowing a buffer overflow.
Executive ViewAI
A critical memory-corruption flaw in the lwIP SMTP client module (CVE-2026-15340) affects embedded and OT devices whose firmware compiles and actively uses that optional component, with the potential for high impact to confidentiality, integrity, and availability if exploited. Exposure is limited to products built with the optional apps/smtp module, and successful abuse generally requires the attacker to control the SMTP server the device communicates with or to intercept that session - so risk is concentrated in deployments that rely on this module rather than across the entire device fleet. No vendor patch is currently available and no public exploit code or confirmed active exploitation was identified at time of analysis, making inventory and interim mitigation the immediate leadership priority.
No vendor patch is available; interim mitigations are to disable or remove the optional lwIP apps/smtp module from affected builds, and where SMTP must remain, constrain outbound connectivity to trusted relays, enforce TLS with certificate validation, sanitize or eliminate externally supplied recipient/subject/body data, and segment and monitor affected embedded and OT networks for crashes, reboots, or anomalous SMTP traffic.
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.
EUVD-2026-95820
GHSA-5x4f-h328-9vjh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB