{"id":"CVE-2026-45541","state":"PUBLISHED","title":"ESF-IDF: Remote Null Pointer Dereference in WebSocket Server","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.","publishedAt":"2026-06-10T00:25:59.233Z","updatedAt":"2026-06-10T14:40:16.880Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["espressif esp-idf"],"affected":[{"vendor":"espressif","product":"esp-idf","versions":[{"version":"= 6.0","status":"affected"},{"version":"= 5.5.4","status":"affected"},{"version":"= 5.4.4","status":"affected"},{"version":"= 5.3.5","status":"affected"},{"version":"= 5.2.6","status":"affected"}]}],"references":["https://github.com/espressif/esp-idf/security/advisories/GHSA-3j8v-xgrq-5vg8","https://github.com/espressif/esp-idf/commit/00a2f7fbbbd8fe6d04729022e1d5c9a49435bfe8","https://github.com/espressif/esp-idf/commit/0dc4ee7537f3b12350f5966cecacd59bba840ec6","https://github.com/espressif/esp-idf/commit/37508ab91124ef426a7396d30f79eba1162700c7","https://github.com/espressif/esp-idf/commit/9fc0ca13b3b85b98d32b98cd9dc8ff9d82642b7b","https://github.com/espressif/esp-idf/commit/dc46dc51359749e50617eb70d6f9ae298adc4fff","https://github.com/espressif/esp-idf/commit/f88a47e4f37fb11ae4b0908cd5c80059d83198c6"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45541.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45541","state":"PUBLISHED","datePublished":"2026-06-10T00:25:59.233Z","dateUpdated":"2026-06-10T14:40:16.880Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-12T17:48:47.878Z"},"containers":{"cna":{"title":"ESF-IDF: Remote Null Pointer Dereference in WebSocket Server","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"espressif","product":"esp-idf","versions":[{"version":"= 6.0","status":"affected"},{"version":"= 5.5.4","status":"affected"},{"version":"= 5.4.4","status":"affected"},{"version":"= 5.3.5","status":"affected"},{"version":"= 5.2.6","status":"affected"}]}],"references":[{"url":"https://github.com/espressif/esp-idf/security/advisories/GHSA-3j8v-xgrq-5vg8","name":"https://github.com/espressif/esp-idf/security/advisories/GHSA-3j8v-xgrq-5vg8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/espressif/esp-idf/commit/00a2f7fbbbd8fe6d04729022e1d5c9a49435bfe8","name":"https://github.com/espressif/esp-idf/commit/00a2f7fbbbd8fe6d04729022e1d5c9a49435bfe8","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/0dc4ee7537f3b12350f5966cecacd59bba840ec6","name":"https://github.com/espressif/esp-idf/commit/0dc4ee7537f3b12350f5966cecacd59bba840ec6","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/37508ab91124ef426a7396d30f79eba1162700c7","name":"https://github.com/espressif/esp-idf/commit/37508ab91124ef426a7396d30f79eba1162700c7","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/9fc0ca13b3b85b98d32b98cd9dc8ff9d82642b7b","name":"https://github.com/espressif/esp-idf/commit/9fc0ca13b3b85b98d32b98cd9dc8ff9d82642b7b","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/dc46dc51359749e50617eb70d6f9ae298adc4fff","name":"https://github.com/espressif/esp-idf/commit/dc46dc51359749e50617eb70d6f9ae298adc4fff","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/f88a47e4f37fb11ae4b0908cd5c80059d83198c6","name":"https://github.com/espressif/esp-idf/commit/f88a47e4f37fb11ae4b0908cd5c80059d83198c6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","lang":"en","description":"CWE-476: NULL Pointer Dereference","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-10T00:25:59.233Z"},"source":{"advisory":"GHSA-3j8v-xgrq-5vg8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-10T14:40:06.288007Z","id":"CVE-2026-45541","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-10T14:40:16.880Z"}}]}}}