Skip to main content

lwIP SMTP client CVE-2026-15340

| EUVDEUVD-2026-95820 CRITICAL
Classic Buffer Overflow (CWE-120)
2026-10-09 icscert GHSA-5x4f-h328-9vjh
9.3
CVSS 4.0 · Vendor: icscert
View

Attack ChainAIDerived

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

  1. Access
    Reach device's SMTP client traffic
  2. Delivery
    Deliver oversized SMTP input/response
  3. Exploit
    Overflow unchecked buffer in lwIP SMTP parser
  4. Execution
    Corrupt memory / hijack control flow
  5. Impact
    Execute 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.

Emergency Immediate action required. Why: CRITICAL + active threat signals, no patch available.
No patch listed yet 0.6% exploitation probability (EPSS)

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

Alert me

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

lwIP SMTP client 2.2.1

Affected Packages

euvd lwip_smtp_client 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

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

Vendor (icscert) 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.1 HIGH

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.

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

Primary rating from Vendor (icscert).

CVSS VectorVendor: icscert

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

Lifecycle Timeline

2
CVSS changed
Oct 09, 2026 - 15:22 NVD
9.8 (CRITICAL) 9.3 (CRITICAL)
CVE Published
Oct 09, 2026 - 14:52 cve.org
CRITICAL 9.3

DescriptionCVE.org

lwIP SMTP client does not check the size of inputs, potentially allowing a buffer overflow.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 53% exploitable
Prevalence
Medium
lwIP stack is common in embedded/OT, but SMTP client is an optional module
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CISA GitHub

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.6%
Patch available No
Active threat Yes
Deciding rule
CRITICAL + active threat signals, no patch available
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

57
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: +10
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.

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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