CVE-2026-45541: ESF-IDF: Remote Null Pointer Dereference in WebSocket Server

Published Jun 10, 2026
·
Updated

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 esphttpserver 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.

Affected Software

6 affected components
Espressif ESP-IDF=5.2.6, =5.3.5, =5.4.4, =5.5.4, =6.0
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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ESF-IDF to a version that resolves this vulnerability.

    Fixed in 5.2.7
  2. Upgrade

    Upgrade ESF-IDF to a version that resolves this vulnerability.

    Fixed in 5.3.6
  3. Upgrade

    Upgrade ESF-IDF to a version that resolves this vulnerability.

    Fixed in 5.4.5
  4. Upgrade

    Upgrade ESF-IDF to a version that resolves this vulnerability.

    Fixed in 5.5.5
  5. Upgrade

    Upgrade ESF-IDF to a version that resolves this vulnerability.

    Fixed in 6.0.1

Event History

Jun 10, 2026
CVE Published
via MITRE·12:25 AM
Data Sourced
via MITRE·12:25 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-45541?

CVE-2026-45541 has a high severity score of 7.5.

2

How do I fix CVE-2026-45541?

To fix CVE-2026-45541, upgrade to a patched version of the Espressif ESP-IDF Development Framework beyond version 6.0.

3

What component is affected by CVE-2026-45541?

CVE-2026-45541 affects the esp_http_server component within the Espressif ESP-IDF.

4

What type of vulnerability is CVE-2026-45541?

CVE-2026-45541 is classified as a Null Pointer Dereference vulnerability.

5

How can CVE-2026-45541 impact my application?

CVE-2026-45541 can lead to application crashes due to a NULL-pointer dereference during WebSocket protocol negotiation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203