Skip to main content

lwIP EUVDEUVD-2026-112819

| CVE-2026-119053 MEDIUM
Out-of-bounds Read (CWE-125)
2026-10-29 VulnCheck GHSA-mm46-vrwc-xmpq
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Locate lwIP SNMP agent, learn read community
  2. Delivery
    Send fragmented SNMP request
  3. Exploit
    Copy bounded by pbuf->len not remaining bytes
  4. Execution
    Adjacent pool/receive-buffer memory read out of bounds
  5. Impact
    Leaked 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

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

lwIP 2.0.0 ≤2.2.1

Affected Packages

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.3 MEDIUM

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.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
widely-used embedded TCP/IP stack, but SNMP agent is an optional non-default build
Data Quality
5 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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