A heap out-of-bounds write vulnerability exists in libevent prior to versions 2.1.13 and 2.2.2-alpha. The flaw is located in bufferevent_sock.c, where bufferevent_socket_set_conn_address_ improperly copies a kernel-supplied AF_UNIX peer address into a smaller fixed-size field. Release builds compiled with NDEBUG disable the EVUTIL_ASSERT length guard, allowing the evhttp accept path to pass a 110-byte sockaddr into a 28-byte field. An unauthenticated local attacker who can connect to an AF_UNIX listener can exploit this to overwrite adjacent heap data including the dns_request pointer. This leads to memory corruption with potential confidentiality, integrity, and availability impact. The vulnerability has been patched in libevent versions 2.1.13 and 2.2.2-alpha.