Skip to main content

libevent CVE-2026-63495

| EUVDEUVD-2026-63503 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-08-20 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Open WebSocket connection to libevent evws endpoint
  2. Delivery
    Send fragmented frames with FIN=0 in a loop
  3. Exploit
    Each frame passes per-frame size check but is appended to evws->incomplete_frames
  4. Execution
    Heap memory grows without bound
  5. Persist
    OOM condition kills server process
  6. Impact
    WebSocket service unavailable

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerable code path is active whenever an application uses libevent's evws WebSocket server API from versions 2.2.0-alpha-dev to 2.2.2-alpha (pre-fix). No authentication is required (CVSS PR:N) and no non-default configuration is needed beyond exposing a WebSocket endpoint via the evws API - the default frame-reassembly behavior is vulnerable. Exploitation is constrained to the 2.2.x alpha release series, as the evws API does not exist in the widely-deployed 2.1.x stable branch. A limiting factor is that the attacker must be able to establish a TCP connection to the WebSocket port; network-level access controls blocking untrusted WebSocket connections would prevent exploitation. No user interaction is required, and exploitation is repeatable by any WebSocket-capable client.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (score 7.5) accurately characterizes the attack surface: no authentication, no complexity, no user interaction, fully network-reachable. Impact is exclusively availability - a complete service crash via OOM. EPSS data was not supplied in the intelligence set; KEV status is absent, meaning CISA has not confirmed active exploitation at time of analysis. The primary risk-reducing factor is deployment footprint: the evws WebSocket API exists only in the 2.2.x alpha series, a pre-release track with very limited production adoption. This makes the effective blast radius considerably smaller than a comparable flaw in a stable libevent release would be. The vulnerability is easy to trigger (low attack complexity, no authentication), but the narrow affected version range and alpha-release status collectively mean the real-world priority is lower than the raw CVSS score implies for most organizations. Teams running 2.2.x alpha builds that expose evws WebSocket endpoints should treat this as high urgency; all others are unaffected.

Exploit ScenarioDerived

An attacker opens a WebSocket connection to any libevent 2.2.x alpha evws endpoint and continuously sends continuation frames (FIN=0) each sized just below WS_MAX_RECV_FRAME_SZ, never sending a final frame to complete the message. The server's evbuffer in evws->incomplete_frames grows with each frame, consuming heap memory without bound until the process is terminated by the OS OOM killer or the host's available memory is exhausted, denying service to all other connected clients.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Memory exhaustion in libevent's WebSocket server (ws.c) allows unauthenticated remote clients to crash affected processes by sending an unbounded stream of fragmented WebSocket frames. Affected versions span 2.2.0-alpha-dev through pre-fix 2.2.2-alpha; the evws WebSocket API enforces WS_MAX_RECV_FRAME_SZ per individual frame but applies no cap to the total accumulated message size in evws->incomplete_frames, enabling heap growth without limit. No public exploit has been identified at time of analysis, and the vulnerability is absent from the CISA KEV catalog; however, exploitation is trivially simple for any WebSocket client.

RemediationAI

Upgrade to libevent 2.2.2-alpha, which enforces a total accumulated message-size limit during fragmented frame reassembly and closes the WebSocket connection with close code 1009 (message too large) when that limit is exceeded; the release is available at https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha and the implementing commit is 291c4d1cd75695e898030ebd5c4ddf26c094077b. For deployments that cannot immediately upgrade, place a WebSocket-aware reverse proxy (e.g., nginx with client_max_body_size or HAProxy with option http-buffer-request) in front of the libevent service and configure it to reject WebSocket messages exceeding a defined total size; note this adds infrastructure complexity and the proxy must understand WebSocket framing to enforce the limit correctly at the protocol layer. As an additional compensating control, restrict access to the WebSocket endpoint to authenticated or network-allowlisted clients at the firewall or load-balancer level, reducing the unauthenticated attack surface - this limits exploitation opportunity but does not eliminate the underlying flaw for trusted clients.

Affected VersionsENISA

libevent 2.2.0-alpha-dev, < 2.2.2-alpha

Affected Packages

euvd libevent_2_2_0_alpha_dev fix: 2.2.2-alpha

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Libevent is a portable, high-performance C event-notification library used by projects such as Tor and Memcached; its WebSocket server API (evws) was introduced in the 2.2.x development alpha series and is implemented in ws.c. The root cause is CWE-400 (Uncontrolled Resource Consumption): when a client sends WebSocket frames with the FIN bit cleared (FIN=0, indicating a continuation frame), libevent appends each frame's payload to evws->incomplete_frames via evbuffer without ever checking the cumulative total against a configured maximum message size. The existing guard WS_MAX_RECV_FRAME_SZ bounds only individual frame size, not the assembled message, leaving a gap between per-frame enforcement and whole-message enforcement. The CPE string cpe:2.3:a:libevent:libevent:*:*:*:*:*:*:*:* scoped to versions 2.2.0-alpha-dev to 2.2.2-alpha identifies the vulnerable artifact range.

Know when Libevent gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-reachable endpoint requires no authentication or complexity; impact is pure memory exhaustion causing process crash with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Aug 20, 2026 - 18:03 EUVD
CVE Published
Aug 20, 2026 - 17:49 cve.org
HIGH 7.5

DescriptionCVE.org

Libevent is an event notification library. From 2.2.0-alpha-dev until 2.2.2-alpha, the libevent WebSocket server in ws.c accumulates fragmented frames in evws->incomplete_frames without enforcing a total message-size limit. An unauthenticated remote client can repeatedly send fragmented WebSocket frames below WS_MAX_RECV_FRAME_SZ with FIN=0, causing the evbuffer to grow without bound until the process or host exhausts memory. This issue is fixed in version 2.2.2-alpha.

Executive ViewAI

Why It Matters

libevent's WebSocket server (versions 2.2.0-alpha through 2.2.2-alpha) is vulnerable to memory exhaustion denial-of-service attacks from unauthenticated remote clients. Affected organizations risk uncontrolled service crashes that degrade availability. A vendor patch is available and should be deployed urgently to restore service resilience.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 64% exploitable
Prevalence
Low
alpha-series library, very limited production deployment
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2016-10195 CRITICAL POC
9.8 Mar 15

The name_parse function in evdns.c in libevent before 2.1.6-beta allows remote attackers to have unspecified impact via

CVE-2016-10197 HIGH POC
7.5 Mar 15

The search_make_new function in evdns.c in libevent before 2.1.6-beta allows attackers to cause a denial of service (out

CVE-2016-10196 HIGH POC
7.5 Mar 15

Stack-based buffer overflow in the evutil_parse_sockaddr_port function in evutil.c in libevent before 2.1.6-beta allows

CVE-2026-63382 CRITICAL
9.2 Aug 20

HTTP request smuggling in the libevent evhttp server (http.c) affects all versions prior to 2.1.13 and the 2.2.x-alpha l

CVE-2026-63384 HIGH
8.7 Aug 20

Integer overflow in Libevent's event tagging subsystem exposes any application using the evtag API to remote denial of s

CVE-2026-63383 HIGH
8.7 Aug 20

Out-of-bounds read in libevent's tagged RPC decoder crashes any application that decodes attacker-controlled tag data us

CVE-2026-63388 HIGH
8.4 Aug 20

Heap out-of-bounds write in libevent's bufferevent_sock.c allows any local peer connecting to an AF_UNIX evhttp listener

CVE-2014-6272 HIGH
7.5 Aug 24

Multiple integer overflows in the evbuffer API in Libevent 1.4.x before 1.4.15, 2.0.x before 2.0.22, and 2.1.x before 2.

CVE-2015-6525 HIGH
7.5 Aug 24

Multiple integer overflows in the evbuffer API in Libevent 2.0.x before 2.0.22 and 2.1.x before 2.1.5-beta allow context

CVE-2026-63387 HIGH
7.0 Aug 20

Off-by-one stack buffer overflow in Libevent's evdns component (versions prior to 2.1.13-stable and 2.2.2-alpha) enables

CVE-2026-63381 MEDIUM
5.8 Aug 20

Use-after-free memory corruption in libevent's evbuffer_add_buffer_reference (buffer.c) allows a caller that can drive a

CVE-2026-63380 MEDIUM
5.7 Aug 20

Use-after-free in libevent's WebSocket session initialization (ws.c) before version 2.2.2-alpha allows a local low-privi

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.4 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy