A buffer overflow in dnsmasq’s extract_addresses() function allows an attacker to trigger a heap out-of-bounds read and crash by exploiting a malformed DNS response, enabling extract_name() to advance the pointer past the record’s end.
https://kb.cert.org/vuls/id/471747
https://www.kb.cert.org/vuls/id/471747
https://thekelleys.org.uk/dnsmasq/CVE/
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5172.json
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
https://github.com/pi-hole/FTL/releases/tag/v6.6.2
https://github.com/NixOS/nixpkgs/pull/519093
https://github.com/NixOS/nixpkgs/pull/519082
https://bugzilla.redhat.com/show_bug.cgi?id=2458521