Skip to main content

libevent EUVDEUVD-2026-63501

| CVE-2026-63388 HIGH
Reachable Assertion (CWE-617)
2026-08-20 GitHub_M
8.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Access AF_UNIX evhttp socket path
  2. Delivery
    Connect as local unprivileged peer
  3. Exploit
    accept() returns 110-byte sockaddr_un
  4. Install
    -DNDEBUG build omits ASSERT bounds check
  5. C2
    memcpy overflows 28-byte conn_address field by 82 bytes
  6. Execute
    Corrupt adjacent dns_request heap pointer
  7. Impact
    Achieve code execution or process crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
Exploitation Conditions

Exploitation requires three specific conditions: the target application must use libevent's evhttp component with an AF_UNIX socket listener (TCP/IPv4/IPv6 evhttp paths are not affected), the binary must have been compiled with -DNDEBUG (standard for production release builds, which removes the EVUTIL_ASSERT guard that would otherwise catch the oversized copy), and the attacker must be able to connect to the AF_UNIX socket path on the local filesystem. CVSS PR:N reflects that UNIX socket connections generally require only filesystem-level access to the socket path, not elevated OS privilege. Restricting the socket path permissions to a single service account or placing it in a tightly controlled directory limits the attacker pool. Non-evhttp bufferevent usage that calls bufferevent_socket_set_conn_address_ with AF_UNIX addresses may also be affected on the same code path.

Impact

The CVSS 8.4 score is well-supported: AV:L correctly reflects that AF_UNIX sockets are not reachable over a network, PR:N is appropriate because connecting to a UNIX socket typically requires only filesystem path access rather than OS privilege, and C/I/A:H is warranted given that overwriting a heap pointer can enable arbitrary code execution or a targeted crash. The most significant risk qualifier is deployment context - only applications using libevent's evhttp layer with an AF_UNIX listener are exposed on this specific code path; TCP/IP evhttp deployments are not vulnerable to this overflow. EPSS data is absent from the provided input, and the vulnerability does not appear in CISA KEV; no exploit code has been identified at time of analysis. Despite the local vector, this should be treated as a prompt upgrade priority: the no-privilege requirement means any local user account or sandboxed process with socket path access can trigger the overflow, and the dns_request pointer overwrite provides a plausible primitive for controlled heap manipulation in environments - from CI runners to containerized microservices - where multiple untrusted local processes share a host.

Exploit ScenarioDerived

A local attacker or compromised process connects to an AF_UNIX socket exposed by a libevent evhttp listener on a release binary built with -DNDEBUG. The accept() call returns a 110-byte sockaddr_un peer address, which memcpy writes without bounds checking into the 28-byte conn_address union, overflowing 82 bytes into adjacent heap memory and corrupting the dns_request pointer. An attacker can use this controlled heap overwrite to redirect execution within the affected process or force a targeted crash.

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

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

Alert me

AnalysisAIv1 – Aug 20, 2026

Heap out-of-bounds write in libevent's bufferevent_sock.c allows any local peer connecting to an AF_UNIX evhttp listener to corrupt heap memory, achieving full confidentiality, integrity, and availability impact. Release builds compiled with -DNDEBUG silently remove the EVUTIL_ASSERT length guard, causing memcpy to write a kernel-supplied 110-byte sockaddr_un into the 28-byte conn_address union field and overwriting the adjacent dns_request heap pointer. No public exploit has been identified at time of analysis, but the absence of privilege requirements and low attack complexity make this accessible to any local process with filesystem access to the socket path.

RemediationAI

Upgrade to libevent 2.1.13-stable (https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable) or libevent 2.2.2-alpha (https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha); both releases are confirmed via tagged GitHub releases and the security advisory GHSA-cvq5-vrvr-j338. The patch expands conn_address to sockaddr_storage and replaces the disabled assertion with an explicit error-returning bounds check, fully closing the overflow path. If immediate upgrade is not feasible, restrict filesystem permissions on the AF_UNIX socket path to prevent untrusted local peers from connecting - for example, mode 0600 owned by a dedicated service account - noting that this reduces the attacker pool but does not eliminate the vulnerability if another process sharing socket access is compromised. Applications not exposing an AF_UNIX listener via evhttp are not affected by this specific overflow path.

Affected VersionsENISA

libevent 2.2.0-alpha, < 2.2.2-alpha
libevent < 2.1.13

Affected Packages

euvd libevent fix: 2.1.13
euvd libevent_2_2_0_alpha fix: 2.2.2-alpha

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

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

Technical ContextAI · show details

Libevent (CPE: cpe:2.3:a:libevent:libevent:*:*:*:*:*:*:*:*) is a portable, widely-embedded event notification library used in servers such as Tor and memcached. The vulnerable function bufferevent_socket_set_conn_address_ in bufferevent_sock.c stored the peer address returned by accept() into a conn_address field typed as a union of sockaddr_in6 and sockaddr_in, capped at approximately 28 bytes. When the evhttp accept path handles an AF_UNIX connection, accept() supplies a sockaddr_un of up to 110 bytes. In debug builds, EVUTIL_ASSERT enforces the size guard; when compiled with -DNDEBUG - standard for release builds - that assertion is compiled away entirely, leaving no bounds check before memcpy. CWE-617 (Reachable Assertion) captures this pattern where an assertion is the sole enforcement mechanism for a safety invariant. The fix, visible in commit 52057cb33d0c20c0a0453fbabe6c0c96854931b9, replaces the union with sockaddr_storage (~128 bytes on Linux) and introduces an explicit bounds check returning EVUTIL_EAI_FAIL on overflow rather than asserting.

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 8.4 HIGH
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.4 HIGH

AV:L because AF_UNIX sockets are strictly local; PR:N because connecting requires only filesystem path access, not elevated OS privilege.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

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

DescriptionCVE.org

Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has a heap out-of-bounds write in bufferevent_sock.c when bufferevent_socket_set_conn_address_ copies a kernel-supplied AF_UNIX peer address into bufferevent_private.conn_address. Release builds compiled with NDEBUG disable the EVUTIL_ASSERT length guard, and the evhttp accept path can pass a 110-byte sockaddr from accept() into the 28-byte field. An unauthenticated local peer able to connect to an AF_UNIX listener can overwrite the adjacent dns_request pointer and heap data, causing memory corruption with confidentiality, integrity, and availability impact. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.

Executive ViewAI

Why It Matters

libevent-based services using AF_UNIX sockets face an immediate vulnerability allowing local attackers to corrupt memory and compromise data confidentiality and system integrity. Although no public exploit has been identified at time of analysis, the attack requires no elevated privileges and is accessible to any process with filesystem access to the socket path, making it exploitable in multi-tenant or shared environments. Organizations must prioritize rapid patching to prevent data exfiltration, service disruption, and unauthorized system access.

Business Impact: High
Compensating Controls

Apply vendor patch. Until patching is complete, restrict filesystem permissions on AF_UNIX socket paths to prevent unauthorized connection attempts and ensure production builds are not compiled with -DNDEBUG flag to maintain memory safety assertions.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
High
widely embedded in network servers, Tor, memcached, and similar software
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

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.1%
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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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-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-63495 HIGH
7.5 Aug 20

Memory exhaustion in libevent's WebSocket server (ws.c) allows unauthenticated remote clients to crash affected processe

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