CVE-2026-63387

Libevent is an event notification library. Prior to 2.1.13 and 2.2.2-alpha, libevent has an off-by-one stack buffer overflow in evdns.c when dnsname_to_labels formats a name-bearing DNS record at the end of the 64 KB stack buffer allocated by evdns_server_request_format_response. The final-label check permits j plus label_len plus one to equal buf_len, after which the terminating null byte is written to buf[buf_len]. A crafted DNS server response containing PTR, CNAME, MX, NS, or SOA data can trigger the one-byte out-of-bounds write and crash or corrupt the process. This issue is fixed in versions 2.1.13 and 2.2.2-alpha.
Configurations

No configuration.

History

26 Oct 2026, 10:10

Type Values Removed Values Added
Summary
  • (es) Libevent es una biblioteca de notificación de eventos. Antes de 2.1.13 y 2.2.2-alpha, libevent tiene un desbordamiento de búfer de pila por un byte en evdns.c cuando dnsname_to_labels formatea un registro DNS que contiene un nombre al final del búfer de pila de 64 KB asignado por evdns_server_request_format_response. La verificación de la etiqueta final permite que j más label_len más uno sea igual a buf_len, después de lo cual el byte nulo de terminación se escribe en buf[buf_len]. Una respuesta de servidor DNS manipulada que contiene datos PTR, CNAME, MX, NS o SOA puede desencadenar la escritura fuera de límites de un byte y bloquear o corromper el proceso. Este problema está solucionado en las versiones 2.1.13 y 2.2.2-alpha.

Information

Published : 2026-08-20 18:16

Updated : 2026-10-26 10:10


NVD link : CVE-2026-63387

Mitre link : CVE-2026-63387

CVE.ORG link : CVE-2026-63387


JSON object : View

Products Affected

No product.

CWE
CWE-121

Stack-based Buffer Overflow

CWE-193

Off-by-one Error

CWE-787

Out-of-bounds Write