A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker, who can create valid DNS replies, could use this flaw to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in get_rdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade dnsmasqUpgrade dnsmasq-utils | May 4, 2022 | Jan 20, 2021 |
| Alpine Linux | — | Upgrade dnsmasq | Aug 22, 2024 | Jan 20, 2021 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Jan 20, 2021 |
| Centos_linux | — | Upgrade dnsmasqUpgrade dnsmasq-debugsourceUpgrade dnsmasq-utilsUpgrade dnsmasq-debuginfoUpgrade dnsmasq-utils-debuginfo | Jan 20, 2021 | Jan 19, 2021 |
| Debian | — | Upgrade dnsmasq | Feb 4, 2021 | Jan 20, 2021 |
| Freebsd | — | Upgrade dnsmasq-develUpgrade dnsmasq | Jan 21, 2021 | Jan 20, 2021 |
| Gentoo Linux | — | Upgrade net-dns/dnsmasq. | Jan 25, 2021 | Jan 20, 2021 |
| Huawei Euleros 2_0_sp2 | — | Upgrade dnsmasqUpgrade dnsmasq-utils | Feb 22, 2021 | Jan 20, 2021 |
| Huawei Euleros 2_0_sp3 | — | Upgrade dnsmasq-utilsUpgrade dnsmasq | Feb 22, 2021 | Jan 20, 2021 |
| Huawei Euleros 2_0_sp5 | — | Upgrade dnsmasqUpgrade dnsmasq-utils | Mar 24, 2021 | Jan 20, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade dnsmasqUpgrade dnsmasq-utils | Feb 2, 2021 | Jan 20, 2021 |
| Huawei Euleros 2_0_sp9 | — | Upgrade dnsmasq | Feb 8, 2021 | Jan 20, 2021 |
| Oracle Solaris | — | Upgrade service/network/dnsmasq to version 2.84-11.4.31.0.1.88.1 on Solaris 11.4 | Mar 17, 2021 | Jan 20, 2021 |
| Oracle_linux | — | Upgrade dnsmasq-utilsUpgrade dnsmasq | Jan 20, 2021 | Jan 19, 2021 |
| Redhat Openshift | — | Upgrade redhat-coreos | Mar 12, 2021 | Jan 20, 2021 |
| Redhat_linux | — | Upgrade dnsmasq-utils-debuginfoUpgrade dnsmasqUpgrade dnsmasq-debugsourceUpgrade dnsmasq-debuginfoUpgrade dnsmasq-utils | Jan 20, 2021 | Jan 19, 2021 |
| Suse | — | Upgrade dnsmasq-utilsUpgrade dnsmasq | Jan 21, 2021 | Jan 20, 2021 |
| Ubuntu | — | Upgrade dnsmasq-utilsUpgrade dnsmasqUpgrade dnsmasq-base | Jan 20, 2021 | Jan 20, 2021 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Jan 20, 2021 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub