dnsmasqs extract_name() function can be abused to cause a heap buffer overflow, allowing an attacker to inject false DNS cache entries, which could result in DNS lookups to redirect to an attacker-controlled IP address, or to cause a DoS.
https://kb.cert.org/vuls/id/471747
https://www.suse.com/security/cve/CVE-2026-2291.html
https://www.kb.cert.org/vuls/id/471747
https://thekelleys.org.uk/dnsmasq/CVE/
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
https://github.com/pi-hole/FTL/releases/tag/v6.6.2