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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| lwIP | lwIP | 2.0.0 – ≤ 2.2.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lwip | No fix yet | — |
| Debian 13 | lwip | No fix yet | — |
| Debian 12 | lwip | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | lwip | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | lwip | No fix yet | — |
| Ubuntu Pro 24.04 LTS | lwip | No fix yet | — |
| Ubuntu Pro 22.04 LTS | lwip | No fix yet | — |
| Ubuntu Pro 20.04 LTS | lwip | No fix yet | — |
References
- Patch Commit patch
- https://github.com/lwip-tcpip/lwip product
- https://github.com/lwip-tcpip/lwip/blob/77dcd25a72509eb83f72b033d219b1d40cd8eb95/src/apps/snmp/snmp_pbuf_stream.c#L111-L122 technical-description
- VulnCheck Advisory: lwIP 2.0.0 through 2.2.1 SNMP Agent Out-of-Bounds Read via snmp_pbuf_stream_writeto() third-party-advisory