NULL Pointer Dereference Affecting espressif/esp-idf package, versions [,5.2.7)[6.0-beta1,6.0.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ESPRESSIFESPIDF-17391842
  • published21 Jun 2026
  • disclosed10 Jun 2026
  • creditEun0us

Introduced: 10 Jun 2026

CVE-2026-45541  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade espressif/esp-idf to version 5.2.7, 6.0.1 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference in the WebSocket subprotocol-negotiation process. An attacker can cause the server to crash by sending a specially crafted Sec-WebSocket-Protocol header during the handshake.

CVSS Base Scores

version 4.0
version 3.1