Skip to main content
← All vulnerabilities
CVE-2026-63381

Libevent: Dangling Pointer in `evbuffer_add_buffer_reference`

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.2-alpha, 2.1.13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • libevent libevent

    From 2.2.0-alpha · fixed in 2.2.2-alpha; fixed in 2.1.13

References 5

GitHub · libevent/libevent