CVE-2026-45541
Received
Received - Intake
NULL-pointer Dereference in ESP-IDF WebSocket Handshake
Publication date: 2026-06-10
Last updated on: 2026-06-10
Assigner: GitHub, Inc.
Description
Description
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.6, 5.3.5, 5.4.4, 5.5.4, and 6.0, a NULL-pointer dereference exists in the WebSocket subprotocol-negotiation path of the esp_http_server component. While parsing the client-supplied Sec-WebSocket-Protocol request header during the WebSocket handshake, the tokenisation result is dereferenced without a NULL check, so a malformed header value can crash the server before any application-level authentication runs. This issue has been patched in versions 5.2.7, 5.3.6, 5.4.5, 5.5.5, and 6.0.1.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| espressif | esp_idf | 5.2.6 |
| espressif | esp_idf | 5.3.5 |
| espressif | esp_idf | 5.4.4 |
| espressif | esp_idf | 5.5.4 |
| espressif | esp_idf | 6.0 |
| espressif | esp_idf | From 5.2.7 (inc) |
| espressif | esp_idf | From 5.3.6 (inc) |
| espressif | esp_idf | From 5.4.5 (inc) |
| espressif | esp_idf | From 5.5.5 (inc) |
| espressif | esp_idf | From 6.0.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |