CVE-2026-63381
Received
Received - Intake
Use-After-Free in Libevent Buffer Handling
Vulnerability report for CVE-2026-63381, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-08-20
Last updated on: 2026-08-20
Assigner: GitHub, Inc.
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| libevent | libevent | to 2.1.13 (inc) |
| libevent | libevent | to 2.2.2-alpha (inc) |
| libevent | libevent | to 2.1.13 (exc) |
| libevent | libevent | to 2.2.2-alpha (exc) |
| libevent | libevent | to 2.1.12 (exc) |
| libevent | libevent | to 2.2.1-alpha (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-908 | The product uses or accesses a resource that has not been initialized. |