CVE-2026-63380 PUBLISHED

Libevent: Null Pointer Dereference in `evws_new_session`

Assigner: GitHub_M
Reserved: 16.07.2026 Published: 20.08.2026 Updated: 20.08.2026

Libevent is an event notification library. Prior to 2.2.2-alpha, libevent can dereference invalid list pointers in ws.c when evws_new_session enters its error path after evhttp_start_ws_ succeeds but bufferevent_enable_locking_ fails. evws_connection_free sees a non-null http_server and unconditionally calls TAILQ_REMOVE even though the session was never inserted into http_server->ws_sessions. A local caller able to induce this allocation or locking failure can crash the process. This issue is fixed in version 2.2.2-alpha.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 5.7

Product Status

Vendor libevent
Product libevent
Versions
  • Version < 2.2.2-alpha is affected

References

Problem Types

  • CWE-416: Use After Free CWE
  • CWE-476: NULL Pointer Dereference CWE