Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-63381— Libevent: Dangling Pointer in `evbuffer_add_buffer_reference`

Quick assessment

Affected
libevent libevent
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Libevent 是一个事件通知库。在版本 2.1.13 之前以及 2.2.2-alpha 版本中,libevent 存在一个使用后释放(use-after-free)漏洞,该漏洞发生在 buffer.c 文件中的 evbuffer_add_buffer_reference 函数处理输出缓冲区时,当该缓冲区的 out_total_len(总输出长度)为零的情况下触发。 具体来说,evbuffer_free_all_chains 会释放初始的空链,但并未重置 outbuf->first、outbuf->last 或

CVSS 5.8 · Medium EPSS 0.12% · P2

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 2

VendorProduct Version RangeStatus
libevent libevent >= 2.2.0-alpha, < 2.2.2-alpha affected
< 2.1.13 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-63381

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Libevent: Dangling Pointer in `evbuffer_add_buffer_reference`
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对未经初始化资源的使用
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
libevent libevent >= 2.2.0-alpha, < 2.2.2-alpha -

II. Public POCs for CVE-2026-63381

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-63381

登录查看更多情报信息。

Patches & Fixes for CVE-2026-63381 (2)

Vendor Advisories for CVE-2026-63381 (1)

Vendor Pages for CVE-2026-63381 (2)

Same Patch Batch · libevent · 2026-08-20 · 10 CVEs total

CVE-2026-63382 9.2 CRITICAL libevent evhttp: Multiple HTTP Parser Bugs Enable Request Smuggling
CVE-2026-63385 9.2 CRITICAL Libevent: HTTP header handling bugs create risk of access control bypass.
CVE-2026-63384 8.7 HIGH Libevent: `evtag_unmarshal_header()` decodes a wire `uint32` length into a signed `int` re
CVE-2026-63383 8.7 HIGH Libevent: decode_tag_internal() can lead to out-of-bounds read
CVE-2026-63388 8.4 HIGH Libevent: Heap out-of-bounds write in bufferevent_socket_set_conn_address_ reachable via A
CVE-2026-63495 7.5 HIGH Libevent: Unbounded memory accumulation in WebSocket server via fragmented frames
CVE-2026-63387 7.0 HIGH Libevent: Off-by-one stack buffer overflow in dnsname_to_labels via crafted DNS server res
CVE-2026-63379 6.3 MEDIUM Libevent: HTTP Header smuggling
CVE-2026-63380 5.7 MEDIUM Libevent: Null Pointer Dereference in `evws_new_session`

IV. Related Vulnerabilities

V. Comments for CVE-2026-63381

No comments yet


Leave a comment