Buffer overflow in Libevent

CVE-2026-63388

Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has a heap out-of-bounds write in bufferevent_sock.c when bufferevent_socket_set_conn_address_ copies a kernel-supplied AF_UNIX peer address into bufferevent_private.conn_address. Release builds compiled with NDEBUG disable the EVUTIL_ASSERT length guard, and the evhttp accept path can pass a 110-byte sockaddr from accept() into the 28-byte field. An unauthenticated local peer able to connect to an AF_UNIX listener can overwrite the adjacent dns_request pointer and heap data, causing memory corruption with confidentiality, integrity, and availability impact. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.

CVSS v3 metric

CVSS v3 base score 8.4 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Libevent — versions < 2.1.13, >= 2.2.0-alpha, < 2.2.2-alpha

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-63388?
CVE-2026-63388 is a high-severity vulnerability in Libevent, classified under Reachable Assertion. CVSS score: 8.4/10. Published 2026-08-20.
How severe is CVE-2026-63388?
High severity. CVSS v3 base score is 8.4 out of 10.