CVE-2026-119053

lwIP 2.0.0 through 2.2.1 SNMP Agent Out-of-Bounds Read via snmp_pbuf_stream_writeto()

Published Oct 29, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in lwIP 2.0.0 through 2.2.1 when the SNMP agent is enabled. The snmp_pbuf_stream_writeto() function incorrectly bounds its copy operation by the total length of a pbuf rather than the remaining bytes, permitting an out‑of‑bounds read. Attackers who can send SNMP requests to the device and know its read community may send fragmented frames that cause the agent to echo data from adjacent receive buffers or memory pools, effectively exposing sensitive information. Because the flaw permits targeted memory disclosure without requiring authentication, the primary impact is the compromise of confidentiality of data residing near the SNMP processing buffers. The flaw is classified as CWE‑125 (Out‑Of‑Bounds Read).

Affected Systems

The issue affects the lwIP Project’s lwIP implementation, specifically versions 2.0.0 through 2.2.1 that are built with the SNMP agent enabled. All builds within this range are impacted regardless of operating system or embedded platform, as long as the SNMP agent component is compiled into the stack.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate risk level. EPSS data is not available, so the current exploitation probability cannot be quantified, and the vulnerability is not listed in CISA’s KEV catalog, implying there are no known active exploits. The attack vector is remote; it requires the attacker to know the SNMP read community string and to be able to send SNMP packets to the target, which can be facilitated by an open or poorly secured SNMP service. If the SNMP agent is reachable, an automated tool could craft and fragment requests to retrieve adjacent memory contents, resulting in information disclosure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade lwIP to a version where the SNMP agent bug is fixed, such as the latest trunk commit e984150 or any release newer than 2.2.1.
  • If the SNMP agent is not required, compile lwIP without the SNMP module or disable the SNMP service.
  • Restrict SNMP accessibility by applying firewall or ACL rules that limit connections to trusted hosts or networks, and use a strong, non‑default community string.

Generated by OpenCVE AI on October 29, 2026 at 15:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Lwip
Lwip lwip
Vendors & Products Lwip
Lwip lwip
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title lwIP 2.0.0 through 2.2.1 SNMP Agent Out-of-Bounds Read via snmp_pbuf_stream_writeto()
First Time appeared Lwip Project
Lwip Project lwip
Weaknesses CWE-125
CPEs cpe:2.3:a:lwip_project:lwip:*:*:*:*:*:*:*:*
Vendors & Products Lwip Project
Lwip Project lwip
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 29, 2026, 2:01 PM
Reserved
Oct 29, 2026, 11:51 AM
Status
Deferred
Published
Oct 29, 2026, 2:17 PM
Modified
Oct 29, 2026, 4:21 PM
Severity
Moderate
Public date
Oct 29, 2026, 1:08 PM