Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
dnsmasq dnsmasq
0 to < 2.92rel2affected
References
- 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/NixOS/nixpkgs/pull/519082 ↗
- https://github.com/NixOS/nixpkgs/pull/519093 ↗
- https://github.com/pi-hole/FTL/releases/tag/v6.6.2 ↗
- http://www.openwall.com/lists/oss-security/2026/07/20/14 ↗