Vulnerability · Published Aug 20, 2026 · Assigned by GitHub_M
CVE-2026-63388Libevent: Heap out-of-bounds write in bufferevent_socket_set_conn_address_ reachable via AF_UNIX accept
High 8.4
In plain English
A high-severity out-of-bounds write in libevent from libevent. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | libevent | 2.1.13-1.el10_2 | ALSA-2026:67909 |
| AlmaLinux:8 | libevent | 2.1.8-11.el8_10 | ALSA-2026:67908 |
| AlmaLinux:9 | libevent | 2.1.13-1.el9_8 | ALSA-2026:67910 |
| AlmaLinux:10 | libevent-devel | 2.1.13-1.el10_2 | ALSA-2026:67909 |
| AlmaLinux:8 | libevent-devel | 2.1.8-11.el8_10 | ALSA-2026:67908 |
| AlmaLinux:9 | libevent-devel | 2.1.13-1.el9_8 | ALSA-2026:67910 |
| AlmaLinux:10 | libevent-doc | 2.1.13-1.el10_2 | ALSA-2026:67909 |
| AlmaLinux:8 | libevent-doc | 2.1.8-11.el8_10 | ALSA-2026:67908 |
| AlmaLinux:9 | libevent-doc | 2.1.13-1.el9_8 | ALSA-2026:67910 |
| Debian:12 | libevent | 2.1.12-stable-8+deb12u1 | DEBIAN-CVE-2026-63388 |
| Debian:13 | libevent | 2.1.13-stable-1~deb13u1 | DEBIAN-CVE-2026-63388 |
| Debian:14 | libevent | 2.1.13-stable-1 | DEBIAN-CVE-2026-63388 |
| Rocky Linux:10 | libevent | 0:2.1.13-1.el10_2 | RLSA-2026:67909 |
| Rocky Linux:8 | libevent | 0:2.1.8-11.el8_10 | RLSA-2026:67908 |
| Rocky Linux:9 | libevent | 0:2.1.13-1.el9_8 | RLSA-2026:67910 |
| Ubuntu:22.04:LTS | libevent | 2.1.12-stable-1ubuntu0.2 | UBUNTU-CVE-2026-63388 |
| Ubuntu:22.04:LTS | libevent | 2.1.12-stable-1ubuntu0.2 | USN-8840-1 |
| Ubuntu:24.04:LTS | libevent | 2.1.12-stable-9ubuntu2.2 | USN-8840-1 |
| Ubuntu:24.04:LTS | libevent | 2.1.12-stable-9ubuntu2.2 | UBUNTU-CVE-2026-63388 |
| Ubuntu:26.04:LTS | libevent | 2.1.12-stable-10ubuntu0.2 | USN-8840-1 |
| Ubuntu:26.04:LTS | libevent | 2.1.12-stable-10ubuntu0.2 | UBUNTU-CVE-2026-63388 |
Affected products (as reported)
Weakness: CWE-617, CWE-787 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/libevent/libevent/security/advisories/GHSA-cvq5-vrvr-j338 x_refsource_CONFIRM
- https://github.com/libevent/libevent/commit/52057cb33d0c20c0a0453fbabe6c0c96854931b9 x_refsource_MISC
- https://github.com/libevent/libevent/commit/ef38f926e9cd1f082416c6fff13587bc1f431d72 x_refsource_MISC
- https://github.com/libevent/libevent/releases/tag/release-2.1.13-stable x_refsource_MISC
- https://github.com/libevent/libevent/releases/tag/release-2.2.2-alpha x_refsource_MISC