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.