Stack-based buffer overflow in ESP-IDF - CVE-2026-113783
Published: November 4, 2026
Vulnerability details
The vulnerability allows a remote attacker to corrupt stack memory, alter program logic, and cause a denial of service, potentially redirecting control flow.
The vulnerability exists due to a stack-based buffer overflow in the lwIP DNS resolver's dns_lookup() function in dns.c when copying multiple cached IP addresses into a single-element ip_addr_t output buffer without bounds checking. A remote attacker can influence DNS responses to supply multiple attacker-controlled address records, causing subsequent cached lookups through dns_gethostbyname() or dns_gethostbyname_addrtype() to overwrite adjacent stack memory and disrupt or alter program execution.