{"id":"CVE-2026-62966","aliases":["CVE-2026-62966"],"related":[],"kind":"vulnerability","state":"published","title":"ESPAsyncWebServer multipart parser has null-pointer write","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T20:53:37.292Z","modified":"2026-11-06T19:17:54.740Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-476","CWE-672"],"affected":[{"ranges":[{"version":"< 3.11.2","status":"affected"}],"vendor":"ESP32Async","product":"ESPAsyncWebServer","source":"cvelist"}],"references":[{"url":"https://github.com/ESP32Async/ESPAsyncWebServer/security/advisories/GHSA-8m8p-vhxc-jmjw","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ESP32Async/ESPAsyncWebServer/commit/4efbd35e597d91f01749f2d4a14bb78fba8ea02e","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ESP32Async/ESPAsyncWebServer/tree/v3.11.2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-11-06T18:20:37.577Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62966","url":"https://www.cve.org/CVERecord?id=CVE-2026-62966","licence":"CVE Terms of Use","modified":"2026-11-06T18:21:46.069Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62966","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62966","licence":"Public domain","modified":"2026-11-06T19:17:54.740Z"}],"updatedAt":"2026-11-25T22:59:48.032Z","epss":{"score":0.00561,"percentile":0.48067,"date":"2026-12-01T12:00:22.000Z"}}