{"id":"CVE-2026-63381","published":"2026-08-20T17:50:09Z","modified":"2026-08-21T21:46:33Z","title":"Libevent: Dangling Pointer in `evbuffer_add_buffer_reference`","vendor":"libevent","product":"libevent","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00121,"percentile":0.00841,"provenance":"source"},"cwes":[{"id":"CWE-908","name":"Use of Uninitialized Resource"}],"references":[{"url":"https://github.com/libevent/libevent/security/advisories/GHSA-c2pj-cg4r-88c8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/libevent/libevent/commit/5cb95ba2f804f8aff46f88d58391c71e1251cd1c","tags":["x_refsource_MISC"]},{"url":"https://github.com/libevent/libevent/commit/9db091b04f569be3a700fa9860ef02f90b830af9","tags":["x_refsource_MISC"]},{"url":"https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable","tags":["x_refsource_MISC"]},{"url":"https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha","tags":["x_refsource_MISC"]}],"priority":{"score":4.2,"factors":[{"name":"EPSS percentile","points":0.17},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"libevent","affectedVersions":[{"vendor":"libevent","product":"libevent","versions":[">= 2.2.0-alpha, < 2.2.2-alpha","< 2.1.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-21T20:58:46.599802Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-63504","exploited":false,"provenance":"source"}}