# CVE-2026-63380: Libevent: Null Pointer Dereference in `evws_new_session`

- Severity: Medium 5.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-20T17:52:29.458Z
- Modified: 2026-10-26T10:10:00.140Z
- Weaknesses: CWE-416, CWE-476
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- libevent libevent: < 2.2.2-alpha

## References

- <https://github.com/libevent/libevent/security/advisories/GHSA-3rpf-frgx-xq34> (exploit)
- <https://github.com/libevent/libevent/commit/825c18bd99f556b59d61200523237f264d5cc734>
- <https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha>

## Sources

- CVE List: [CVE-2026-63380](https://www.cve.org/CVERecord?id=CVE-2026-63380), CVE Terms of Use, modified 2026-08-25
- NVD: [CVE-2026-63380](https://nvd.nist.gov/vuln/detail/CVE-2026-63380), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-63380 · Whole record: https://cve.day/CVE-2026-63380.json · Rebuilt by cve.day 2026-11-25T22:59:34.677Z
