{
  "id": "CVE-2026-45541",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45541",
  "published_at": "2026-06-10T00:25:59.233Z",
  "title": "ESF-IDF: Remote Null Pointer Dereference in WebSocket Server",
  "vendor": "espressif",
  "product": "esp-idf",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:a:espressif:esp-idf:5.2.6:*:*:*:*:*:*:*",
    "cpe:2.3:a:espressif:esp-idf:5.3.5:*:*:*:*:*:*:*",
    "cpe:2.3:a:espressif:esp-idf:5.4.4:*:*:*:*:*:*:*",
    "cpe:2.3:a:espressif:esp-idf:5.5.4:*:*:*:*:*:*:*",
    "cpe:2.3:a:espressif:esp-idf:6.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "espressif",
        "product": "esp-idf",
        "ranges": [
          "= 6.0",
          "= 5.5.4",
          "= 5.4.4",
          "= 5.3.5",
          "= 5.2.6"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/espressif/esp-idf/security/advisories/GHSA-3j8v-xgrq-5vg8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/00a2f7fbbbd8fe6d04729022e1d5c9a49435bfe8"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/0dc4ee7537f3b12350f5966cecacd59bba840ec6"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/37508ab91124ef426a7396d30f79eba1162700c7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/9fc0ca13b3b85b98d32b98cd9dc8ff9d82642b7b"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/dc46dc51359749e50617eb70d6f9ae298adc4fff"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/espressif/esp-idf/commit/f88a47e4f37fb11ae4b0908cd5c80059d83198c6"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
