CVE-2026-63380Libevent: Null Pointer Dereference in `evws_new_session`
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.
What to do
Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libevent | Fix pending | UBUNTU-CVE-2026-63380 | |
| Ubuntu 26.04 | libevent | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | libevent | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libevent | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libevent | Fix pending | UBUNTU-CVE-2026-63380 | |
| Ubuntu 18.04 | libevent | Fix pending | UBUNTU-CVE-2026-63380 | |
| Ubuntu 16.04 | libevent | Fix pending | UBUNTU-CVE-2026-63380 | |
| Ubuntu 14.04 | libevent | Fix pending | UBUNTU-CVE-2026-63380 | |
| Red Hat Enterprise Linux 10 | libevent | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libevent-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libevent-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libevent | Not affected | ||
| Red Hat Enterprise Linux 9 | libevent-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | libevent-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | libevent | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libevent-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libevent-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libevent | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libevent-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libevent-doc | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libevent | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libevent-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libevent-doc | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libevent-headers | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libevent2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libevent2-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libevent2-doc | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libevent: affected: < 2.2.2-alpha
References
- https://github.com/libevent/libevent/security/advisories/GHSA-3rpf-frgx-xq34
- https://github.com/libevent/libevent/commit/825c18bd99f556b59d61200523237f264d5cc734
- https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.