CVE-2026-63380
JSON

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 packageVersionsReported by
libevent libevent< 2.2.2-alphaCVE List

Classification

CWE-416CWE-476

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

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

SourceRecordLicence
CVE ListCVE-2026-63380 changed 2026-08-25CVE Terms of Use
NVDCVE-2026-63380 changed 2026-10-26Public domain