| 제목 | lwIP Project lwIP 2.2.1 and earlier Heap-based Buffer Overflow |
|---|
| 설명 | A heap-based out-of-bounds write exists in the lwIP MQTT client. In mqtt_parse_incoming(), the MQTT Remaining Length field is parsed without enforcing the protocol limit of four encoded bytes. A broker can send a malformed Remaining Length containing excessive continuation bytes, causing msg_idx to advance beyond the fixed rx_buffer and overwrite adjacent heap memory.
The issue was reproduced with AddressSanitizer using a crafted MQTT input. The lwIP maintainer confirmed the issue and marked Savannah bug #68590 as fixed, with the fix planned for lwIP 2.2.2. |
|---|
| 원천 | ⚠️ https://savannah.nongnu.org/bugs/?68590 |
|---|
| 사용자 | xuyun (UID 100919) |
|---|
| 제출 | 2026. 09. 01. AM 04:48 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 10. 10. PM 05:18 (1 month later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 408720 [lwIP 까지 2.2.1 MQTT 메모리 손상] |
|---|
| 포인트들 | 0 |
|---|