Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate lwIP SNMP agent, learn read community
-
DeliverySend fragmented SNMP request
-
ExploitCopy bounded by pbuf->len not remaining bytes
-
ExecutionAdjacent pool/receive-buffer memory read out of bounds
-
ImpactLeaked memory echoed in SNMP response
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concrete conditions: (1) the target firmware must be built with the lwIP SNMP agent compiled in and enabled - this is an optional, non-default component; (2) the attacker must know the configured SNMP read community string (commonly the default 'public', but a non-default community meaningfully limits exploitation); and (3) the attacker must send fragmented SNMP requests so that a pbuf with a non-zero target_offset is processed, triggering the over-long copy in snmp_pbuf_stream_writeto(). Limiting factors: impact is read-only memory disclosure (no write, no code execution, no crash), the leak is confined to adjacent receive-buffer or pool memory, and the affected versions are lwIP 2.0.0 through 2.2.1. No user interaction is required. |
| Impact | This is a moderate-priority information-disclosure issue, not a high-urgency emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) and score of 6.9 indicate a remotely reachable, low-complexity flaw, but impact is confined to confidentiality at Low (VC:L, with VI:N/VA:N) - it leaks adjacent receive-buffer or memory-pool contents, it does not corrupt memory or crash the service. The vuln.today decision label is 'this_month', consistent with a real-but-not-critical finding. It is NOT in CISA KEV (no active exploitation signal), no EPSS score was supplied in the input (exploitation probability cannot be quantified from available data), and no public exploit or PoC reference is present - only the vendor patch commit, the repository, a source-line pointer, and the VulnCheck advisory. One important nuance tempers the PR:N rating: the description states the attacker must be 'knowing the read community', so exploitation presupposes knowledge of the SNMP read community string - frequently the default 'public', which is why the vendor still treats it as effectively unauthenticated, but it is a limiting factor worth verifying per deployment. Net assessment: a genuine but bounded info-leak that merits scheduled patching rather than crisis response. |
| Exploit ScenarioDerived | An attacker who knows (or guesses the default of) the SNMP read community string sends crafted fragmented SNMP requests to a device whose lwIP build includes the SNMP agent. Because snmp_pbuf_stream_writeto() bounds its copy by pbuf->len instead of the bytes remaining after target_offset, the response echoes target_offset bytes of adjacent receive-buffer or pool memory, leaking data back to the attacker. No public exploit code was identified at time of analysis; the flaw mechanism is confirmed by the vendor patch diff. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 29, 2026
An out-of-bounds read in lwIP 2.0.0 through 2.2.1 builds that include the optional SNMP agent lets remote unauthenticated attackers retrieve adjacent receive-buffer or pool memory in SNMP responses. The flaw is in snmp_pbuf_stream_writeto(), which bounds its copy by pbuf->len rather than by the bytes remaining after target_offset, so a fragmented SNMP request that produces a pbuf with a non-zero offset causes extra bytes to be echoed back. Exploitation additionally requires knowledge of the configured SNMP read community string, and impact is limited to read-only information disclosure with no write, code execution or crash; no public exploit has been identified at time of analysis, and an upstream fix commit is available.
RemediationAI
Apply the upstream fix commit https://github.com/lwip-tcpip/lwip/commit/e98415014aca66ef0daefded8020763b9279a3b2, which adds a target_offset >= pbuf->len guard and bounds the copy by pbuf->len - target_offset instead of pbuf->len; the patch is available from the vendor, though a tagged released version containing it is not independently confirmed, so downstream integrators should cherry-pick the commit or track the lwIP release that includes it and rebuild affected firmware. Because the SNMP agent is an optional component, the most direct mitigation for devices that do not need it is to compile it out or leave it disabled, accepting the loss of SNMP monitoring and management. Where SNMP must remain enabled, replace the default 'public' read community with a non-default value and restrict reachability to UDP port 161 from trusted management hosts only, which limits exposure but does not remove the underlying over-read for attackers who obtain the community string.
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 is a lightweight embedded TCP/IP stack widely used in firmware for microcontrollers and constrained devices; its SNMP agent lives under src/apps/snmp and is an optional, non-default component that must be explicitly compiled in and enabled. The affected routine, snmp_pbuf_stream_writeto() in snmp_pbuf_stream.c, copies data into a packet buffer stream and computes chunk_len = LWIP_MIN(len, pbuf->len) without subtracting target_offset, the position already consumed within the current pbuf. When the stream starts partway into a pbuf - which happens with fragmented SNMP requests assembled across multiple pbufs - the copy can run past the end of the current pbuf and pull neighbouring receive-buffer or pool memory into the outgoing response. This is CWE-125 (out-of-bounds read); the CPE cpe:2.3:a:lwip:lwip:*:*:*:*:*:*:*:* covers the 2.0.0-2.2.1 range. The upstream fix adds a target_offset >= pbuf->len guard and changes the length bound to pbuf->len - target_offset, and the code comment in the patch explicitly notes that bounding by pbuf->len alone copies adjacent buffer memory into the response.
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:L/VI:N/VA:N/SC:N/SI:N/SA:N
Remote, low-complexity, effectively unauthenticated (read community often default 'public'); strictly an out-of-bounds read, so C:L with I:N and A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
lwIP 2.0.0 through 2.2.1 built with the SNMP agent contains an out-of-bounds read vulnerability in snmp_pbuf_stream_writeto() that bounds copies by pbuf->len instead of remaining bytes. Remote unauthenticated attackers knowing the read community can send fragmented SNMP requests to receive adjacent receive-buffer or pool memory echoed in responses.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An out-of-bounds write in the MQTT client module of the lwIP TCP/IP stack lets an adversary who controls or impersonates
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
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-112819
GHSA-mm46-vrwc-xmpq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB