NULL pointer dereference in libevent - #VU136950
Published: July 6, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to null pointer dereference in evws_connection_free when handling error paths during websocket session creation. A remote attacker can trigger a failure before the session is inserted into the ws_sessions list to cause a denial of service.
The issue occurs because http_server is set before session initialization is completed, and cleanup removes a list entry that was never inserted.