CVE-2026-63380

Libevent: Null Pointer Dereference in `evws_new_session`

State
Published
Severity
5.7 Medium
Published
Aug 20, 2026
Updated
Aug 25, 2026
Reserved
Jul 16, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.7 MediumCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

Affected Products

ProductVersions
libeventlibevent
  • < 2.2.2-alphaAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.