CVE-2026-5172
A buffer overflow in dnsmasq’s extract_addresses() function allows …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/NixOS/nixpkgs/pull/519082
- github.com/NixOS/nixpkgs/pull/519093
- github.com/pi-hole/FTL/releases/tag/v6.6.2
- lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
- thekelleys.org.uk/dnsmasq/CVE/
- www.kb.cert.org/vuls/id/471747
- access.redhat.com/errata/RHSA-2026:19158
- access.redhat.com/security/cve/CVE-2026-5172
- nvd.nist.gov/vuln/detail/CVE-2026-5172
- cve.org/CVERecord?id=CVE-2026-5172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.