ESP32Async ESPAsyncWebServer
ESPAsyncWebServer: Integer overflow in multipart boundary parser causes denial of service
ESPAsyncWebServer is an asynchronous HTTP and WebSocket server library for ESP32, ESP8266, RP2040 and RP2350. Prior to 3.11.1, the multipart/form-data parser in src/WebRequest.cpp stores _boundaryPosition as an 8-bit value while _parseMultipartPostByte processes the boundary. A remote request containing an exactly 256-byte multipart boundary wraps _boundaryPosition from 255 to zero, prevents the boundary parsing loop from terminating, consumes excessive CPU, and triggers a FreeRTOS watchdog reset on affected ESP32 or ESP8266 devices. This issue is fixed in version 3.11.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.11.1
Fixed in 3.11.1
Mitigation
Upgrade ESPAsyncWebServer to 3.11.1 or later.
References
- Vendor advisory github.com/ESP32Async/ESPAsyncWebServer/securi…
- Patch github.com/ESP32Async/ESPAsyncWebServer/pull/4…
- Patch github.com/ESP32Async/ESPAsyncWebServer/commit…
1 more
- Release notes github.com/ESP32Async/ESPAsyncWebServer/releas…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.