ESPAsyncWebServer is an asynchronous HTTP and WebSocket server library for ESP32, ESP8266, RP2040 and RP2350. Prior to version 3.11.2, the multipart parser in src/WebRequest.cpp frees _itemBuffer and sets it to NULL when BOUNDARY_OR_DATA matches the closing boundary of a file part, before confirming the following terminator, while leaving _itemIsFile true. If the next byte is neither the final closing dashes nor a clean CRLF, the DASH3_OR_RETURN2 or EXPECT_FEED2 rewind branch re-injects provisionally consumed bytes through itemWriteByte. Because _itemIsFile remains true, _itemBuffer[_itemBufferIndex++] writes through a null pointer. On ESP32 this causes a StoreProhibited exception, panic and device reboot, producing remote denial of service. A route with a non-trivial body/upload handler, such as a file-upload or web-OTA endpoint, must be present. This issue is fixed in version 3.11.2.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-476",
"CWE-672"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62966.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.11.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "4efbd35e597d91f01749f2d4a14bb78fba8ea02e"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62966.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "317830596167781103938459087025299011748",
"length": 5824
},
"id": "CVE-2026-62966-13d68a88",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/esp32async/espasyncwebserver/commit/4efbd35e597d91f01749f2d4a14bb78fba8ea02e",
"target": {
"file": "src/WebRequest.cpp",
"function": "AsyncWebServerRequest::_parseMultipartPostByte"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"189328759699576000282789025689487091849",
"239112933899564100548092059941149991104",
"57789338315127246795705317473647072314",
"218414193814096449943570698995914427409",
"252268143549853470747907397416556036400",
"159541657131724933171760609363337227888",
"37375395580869109958763977281927563364",
"170253019847571814534893283195536037335"
],
"threshold": 0.9
},
"id": "CVE-2026-62966-89ef1fb8",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/esp32async/espasyncwebserver/commit/4efbd35e597d91f01749f2d4a14bb78fba8ea02e",
"target": {
"file": "src/WebRequest.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "117013972368662106320310198045115265332",
"length": 363
},
"id": "CVE-2026-62966-d913a520",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/esp32async/espasyncwebserver/commit/4efbd35e597d91f01749f2d4a14bb78fba8ea02e",
"target": {
"file": "src/WebRequest.cpp",
"function": "AsyncWebServerRequest::_handleUploadByte"
}
}
]
"2026-11-08T07:11:30Z"