{"id":"CVE-2026-45541","summary":"ESF-IDF: Remote Null Pointer Dereference in WebSocket Server","details":"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.","aliases":["GHSA-3j8v-xgrq-5vg8"],"modified":"2026-07-08T08:13:30.429071436Z","published":"2026-06-10T00:25:59.233Z","database_specific":{"cwe_ids":["CWE-476"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45541.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45541.json"},{"type":"ADVISORY","url":"https://github.com/espressif/esp-idf/security/advisories/GHSA-3j8v-xgrq-5vg8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45541"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/00a2f7fbbbd8fe6d04729022e1d5c9a49435bfe8"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/0dc4ee7537f3b12350f5966cecacd59bba840ec6"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/37508ab91124ef426a7396d30f79eba1162700c7"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/9fc0ca13b3b85b98d32b98cd9dc8ff9d82642b7b"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/dc46dc51359749e50617eb70d6f9ae298adc4fff"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/f88a47e4f37fb11ae4b0908cd5c80059d83198c6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/espressif/esp-idf","events":[{"introduced":"9ef24e3e2a2c96e720d83c574a3f8699177573da"},{"fixed":"00a2f7fbbbd8fe6d04729022e1d5c9a49435bfe8"},{"fixed":"0dc4ee7537f3b12350f5966cecacd59bba840ec6"},{"fixed":"37508ab91124ef426a7396d30f79eba1162700c7"},{"fixed":"9fc0ca13b3b85b98d32b98cd9dc8ff9d82642b7b"},{"fixed":"dc46dc51359749e50617eb70d6f9ae298adc4fff"},{"fixed":"f88a47e4f37fb11ae4b0908cd5c80059d83198c6"}],"database_specific":{"cpe":["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:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"5.2.6"},{"last_affected":"5.2.6"},{"introduced":"5.3.5"},{"last_affected":"5.3.5"},{"introduced":"5.4.4"},{"last_affected":"5.4.4"},{"introduced":"5.5.4"},{"last_affected":"5.5.4"},{"introduced":"6.0"},{"last_affected":"6.0"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["5.2.6","5.3.5","5.4.4","5.5.4","6.0","= 5.2.6","= 5.3.5","= 5.4.4","= 5.5.4","= 6.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45541.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}