5.7medium
Libevent: Null Pointer Dereference in `evws_new_session`
- Severity
- 5.7medium CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| libevent libevent | < 2.2.2-alpha | CVE List |
Classification
What each source says
CVE List
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.
NVD (es)
Libevent es una biblioteca de notificación de eventos. Anterior a 2.2.2-alpha, libevent puede desreferenciar punteros de lista inválidos en ws.c cuando evws_new_session entra en su ruta de error después de que evhttp_start_ws_ tiene éxito pero bufferevent_enable_locking_ falla. evws_connection_free ve un http_server no nulo y llama incondicionalmente a TAILQ_REMOVE aunque la sesión nunca fue insertada en http_server -> ws_sessions. Un llamador local capaz de inducir este fallo de asignación o bloqueo puede bloquear el proceso. Este problema está solucionado en la versión 2.2.2-alpha.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-63380 changed 2026-08-25 | CVE Terms of Use |
| NVD | CVE-2026-63380 changed 2026-10-26 | Public domain |