Stack-based buffer overflow in Dnsmasq - CVE-2026-4892
Published: May 12, 2026
Dnsmasq
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to stack-based buffer overflow in helper.c when processing oversized DHCPv6 CLIDs for the --dhcp-script helper path. A remote attacker can send a specially crafted DHCPv6 client identifier to execute arbitrary code.
Only configurations with --dhcp-script enabled are vulnerable, and the helper process retains root privileges.