Cloudanix VulnDB

CVE-2026-63381

None

CVSS

—

EPSS

0.2%

Published

Aug 20, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a widely used support library can let someone who already has access to a computer crash or damage programs that rely on it for handling network events.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Denial Of Service
Component
Library
Class
Use After Free
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Use-after-free in libevent buffer.c when evbuffer_add_buffer_reference handles an output buffer with out_total_len zero; evbuffer_free_all_chains frees the empty chain without clearing outbuf->first, outbuf->last, or outbuf->last_with_datap, allowing APPEND_CHAIN_MULTICAST to dereference a dangling pointer and cause memory corruption or crash.

Why it matters to the business

Applications depending on libevent may experience crashes or memory corruption, leading to denial of service or potential local code execution; Red Hat systems require prompt patching due to widespread use of the library in network services.

How an attack unfolds

An attacker with local access crafts input that drives an evbuffer into a zero-length state, triggers evbuffer_add_buffer_reference followed by evbuffer_free_all_chains, then forces APPEND_CHAIN_MULTICAST to dereference the freed chain, resulting in corruption or crash.

How to fix it

Upgrade libevent to fixed versions: 2.1.13-1.el10_2 on RHEL 10, 2.1.13-1.el9_8 on RHEL 9, or 2.1.12-19.1.hum1 on other Red Hat systems via the referenced RHSA; rebuild and restart dependent applications after update.

How to confirm the fix worked

Verify package versions match the fixed releases listed in RHSA-2026:67910, run regression tests exercising evbuffer_add_buffer_reference and evbuffer_free_all_chains paths, and confirm absence of use-after-free reports in memory sanitizers.

Typical attack path

  1. Obtain local access or control a process that uses libevent buffers
  2. Manipulate buffer operations to reach out_total_len zero
  3. Invoke evbuffer_add_buffer_reference then evbuffer_free_all_chains
  4. Trigger APPEND_CHAIN_MULTICAST to dereference the dangling pointer
  5. Achieve memory corruption or process crash

How to detect it

Review application logs for unexpected crashes or memory errors in processes linked to libevent; inspect core dumps or sanitizer reports for dangling pointer references in buffer.c functions; no specific external IOCs are known.

What your security team should do

  • Apply the Red Hat updates immediately on all affected systems
  • Inventory applications linking against libevent and schedule restarts
  • Monitor for any local privilege-escalation attempts targeting buffer handling
  • Update build pipelines to enforce minimum libevent versions

The record

Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has a use-after-free in buffer.c when evbuffer_add_buffer_reference processes an output buffer whose out_total_len is zero. evbuffer_free_all_chains frees the initial empty chain without resetting outbuf->first, outbuf->last, or outbuf->last_with_datap, and APPEND_CHAIN_MULTICAST subsequently dereferences the dangling chain pointer. A caller that can drive this buffer state can cause memory corruption or a process crash. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities