Bug 2520657 (CVE-2026-63381) - CVE-2026-63381 libevent: Libevent: Memory corruption due to use-after-free
Summary: CVE-2026-63381 libevent: Libevent: Memory corruption due to use-after-free
Keywords:
Status: NEW
Alias: CVE-2026-63381
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2527797
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-20 18:05 UTC by OSIDB Bzimport
Modified: 2026-09-02 21:32 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-20 18:05:04 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.