Heap-based buffer overflow in Mongoose - CVE-2026-63626
Published: August 12, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code, disclose sensitive information, or cause a denial of service.
The vulnerability exists due to a heap-based buffer overflow in ppp_handle_ipv6cp() in src/l2_ppp.c when processing crafted IPv6CP frames on a PPP or PPPoE link. A remote attacker can send a specially crafted IPv6CP Configure-Request with an attacker-controlled length field to execute arbitrary code, disclose sensitive information, or cause a denial of service.
Only configurations with MG_ENABLE_TCPIP=1 and MG_ENABLE_IPV6=1 using the PPP or PPPoE link layer are affected. A prior LCP exchange is required to satisfy the IPv6CP dispatch precondition.