CVE-2026-63388
JSON

8.4high

Libevent: Heap out-of-bounds write in bufferevent_socket_set_conn_address_ reachable via AF_UNIX accept

Severity
8.4high CVSS:3.1 by GitHub_M
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
libevent libevent< 2.1.13, >= 2.2.0-alpha, < 2.2.2-alphaCVE List

Classification

CWE-617CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Libevent es una biblioteca de notificación de eventos. Antes de las versiones 2.1.13 y 2.2.2-alpha, libevent tiene una escritura fuera de límites en el heap en bufferevent_sock.c cuando bufferevent_socket_set_conn_address_ copia una dirección de par AF_UNIX suministrada por el kernel en bufferevent_private.conn_address. Las compilaciones de lanzamiento compiladas con NDEBUG deshabilitan la protección de longitud EVUTIL_ASSERT, y la ruta de aceptación de evhttp puede pasar una sockaddr de 110 bytes de accept() al campo de 28 bytes. Un par local no autenticado capaz de conectarse a un oyente AF_UNIX puede sobrescribir el puntero dns_request adyacente y los datos del heap, causando corrupción de memoria con impacto en la confidencialidad, integridad y disponibilidad. Este problema está corregido en las versiones 2.1.13 y 2.2.2-alpha.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-63388 changed 2026-08-21CVE Terms of Use
NVDCVE-2026-63388 changed 2026-10-26Public domain