Skip to main content
EPSS 0.1%top 97%

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_… (CVE-2026-63380)

0
Medium
Published: 08/20/2026 (08/20/2026, 18:16:00 UTC)
Source: GCVE Database
Product: libevent

Description

Libevent versions prior to 2.2.2-alpha contain a vulnerability in ws.c where invalid list pointers can be dereferenced during error handling in evws_new_session. This occurs when evhttp_start_ws_ succeeds but bufferevent_enable_locking_ fails, leading to a call to TAILQ_REMOVE on a session not inserted into the session list. This can cause a process crash. The issue is fixed in version 2.2.2-alpha.

CVSS v4.0

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Ubuntu:14.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=trusty
Affected versions
=2.0.21-stable-1=2.0.21-stable-1ubuntu1=2.0.21-stable-1ubuntu1.14.04.1=2.0.21-stable-1ubuntu1.14.04.2
Ubuntu:16.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=xenial
Affected versions
=2.0.21-stable-2=2.0.21-stable-2ubuntu0.16.04.1
Ubuntu:18.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=bionic
Affected versions
=2.1.8-stable-4=2.1.8-stable-4build1
Ubuntu:20.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=focal
Affected versions
=2.1.8-stable-4build1=2.1.11-stable-1~exp0=2.1.11-stable-1
Ubuntu:22.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=jammy
Affected versions
=2.1.12-stable-1=2.1.12-stable-1build1=2.1.12-stable-1build2=2.1.12-stable-1build3=2.1.12-stable-1ubuntu0.1=2.1.12-stable-1ubuntu0.2
Ubuntu:24.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=noble
Affected versions
=2.1.12-stable-9=2.1.12-stable-9ubuntu2=2.1.12-stable-9ubuntu2.1=2.1.12-stable-9ubuntu2.2
Ubuntu:26.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=resolute
Affected versions
=2.1.12-stable-10build1=2.1.12-stable-10build2=2.1.12-stable-10ubuntu0.1=2.1.12-stable-10ubuntu0.2
Ubuntu:Pro:14.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=2.0.21-stable-1=2.0.21-stable-1ubuntu1=2.0.21-stable-1ubuntu1.14.04.1=2.0.21-stable-1ubuntu1.14.04.2=2.0.21-stable-1ubuntu1.14.04.2+esm1=2.0.21-stable-1ubuntu1.14.04.2+esm2
Ubuntu:Pro:16.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=2.0.21-stable-2=2.0.21-stable-2ubuntu0.16.04.1=2.0.21-stable-2ubuntu0.16.04.1+esm1=2.0.21-stable-2ubuntu0.16.04.1+esm2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=esm-infra/bionic
Affected versions
=2.1.8-stable-4=2.1.8-stable-4build1=2.1.8-stable-4ubuntu0.1~esm1=2.1.8-stable-4ubuntu0.1~esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
libevent
pkg:deb/ubuntu/libevent?arch=source&distro=esm-infra/focal
Affected versions
=2.1.8-stable-4build1=2.1.11-stable-1~exp0=2.1.11-stable-1=2.1.11-stable-1ubuntu0.1~esm1=2.1.11-stable-1ubuntu0.1~esm2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 05:10:49 UTC

Technical Analysis

Libevent is an event notification library. In versions before 2.2.2-alpha, a flaw exists in the WebSocket session handling code (ws.c). Specifically, if evws_new_session enters its error path after evhttp_start_ws_ succeeds but bufferevent_enable_locking_ fails, evws_connection_free unconditionally calls TAILQ_REMOVE on a non-null http_server pointer. Since the session was never inserted into http_server->ws_sessions, this leads to dereferencing invalid list pointers. A local attacker able to trigger this allocation or locking failure can cause the process to crash. The vulnerability is resolved in libevent version 2.2.2-alpha.

Potential Impact

A local attacker with the ability to induce allocation or locking failures in the affected libevent versions can cause the process to crash due to invalid pointer dereference. This results in denial of service but does not indicate code execution or data corruption from the provided data.

Mitigation Recommendations

This vulnerability is fixed in libevent version 2.2.2-alpha. Users should upgrade to version 2.2.2-alpha or later to remediate this issue. No other mitigation or workaround is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-63380
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:14.04:LTS","Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
4.0

Threat ID: 6a8c4c54acd9273b499be7dc

Added to database: 08/24/2026, 13:51:16 UTC

Last enriched: 09/29/2026, 05:10:49 UTC

Last updated: 10/06/2026, 18:48:23 UTC

Views: 37

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses