Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Espressif | Esp-Idf | 5.2.6 |
Related Weaknesses (CWE)
References
- https://github.com/espressif/esp-idf/commit/00a2f7fbbbd8fe6d04729022e1d5c9a49435Patch
- https://github.com/espressif/esp-idf/commit/0dc4ee7537f3b12350f5966cecacd59bba84Patch
- https://github.com/espressif/esp-idf/commit/37508ab91124ef426a7396d30f79eba11627Patch
- https://github.com/espressif/esp-idf/commit/9fc0ca13b3b85b98d32b98cd9dc8ff9d8264Patch
- https://github.com/espressif/esp-idf/commit/dc46dc51359749e50617eb70d6f9ae298adcPatch
- https://github.com/espressif/esp-idf/commit/f88a47e4f37fb11ae4b0908cd5c80059d831Patch
- https://github.com/espressif/esp-idf/security/advisories/GHSA-3j8v-xgrq-5vg8MitigationPatchVendor Advisory
FAQ
What is CVE-2026-45541?
CVE-2026-45541 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 pat...
How severe is CVE-2026-45541?
CVE-2026-45541 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-45541?
Check the references section above for vendor advisories and patch information. Affected products include: Espressif Esp-Idf.