Skip to content
NewA calmer, faster ZeroHour
Vulnerability3 · 2 reads

CVE-2026-15340

Buffer Overflow in lwIP SMTP Client from Unchecked Input Sizes

CVSS 4.0
9.3 critical
EPSS
—
Published
·
Modified
Analyze CVE-2026-15340 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

The lightweight IP (lwIP) open-source TCP/IP stack contains a buffer overflow in its SMTP client component, which fails to validate the size of inputs before copying them into fixed-size buffers. An attacker who can control data processed by the SMTP client (such as server responses or crafted message content) could overwrite memory, potentially leading to code execution or a crash on the embedded device. The flaw affects any embedded product or firmware that enables and uses lwIP's SMTP client functionality, which is common in IoT and industrial devices. The CVSS v4.0 score is 9.3 (critical), with network attack vector, no privileges or user interaction required. No public proof of concept or known in-the-wild exploitation has been reported, and the issue is not on the CISA KEV list.

What to do: Check whether your embedded devices or firmware builds enable lwIP's SMTP client (LWIP_SMTP option); if it is unused, disable it in the build configuration. If it is required, apply upstream lwIP patches or vendor firmware updates that add input size validation, and restrict SMTP traffic to trusted servers. Monitor ICS-CERT advisories for vendor-specific advisories derived from this CVE.

ProductAffected
lwIP project lwIP (lightweight IP) SMTP client—
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

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

Weakness
CWE-120
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

1 story