Unrated severityNVD Advisory· Published Jan 20, 2021· Updated Nov 4, 2025
CVE-2020-25687
CVE-2020-25687
Description
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. This flaw allows a remote attacker, who can create valid DNS replies, 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 sort_rrset() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
29- dnsmasq/dnsmasqdescription
- Range: <2.83
- osv-coords27 versionspkg:rpm/opensuse/dnsmasq&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/dnsmasq&distro=openSUSE%20Leap%2015.2pkg:rpm/suse/dnsmasq&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/dnsmasq&distro=SUSE%20Enterprise%20Storage%205pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP1pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/dnsmasq&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/dnsmasq&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 2.78-lp151.5.6.1+ 26 more
- (no CPE)range: < 2.78-lp151.5.6.1
- (no CPE)range: < 2.78-lp152.7.3.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-3.11.1
- (no CPE)range: < 2.78-3.11.1
- (no CPE)range: < 2.78-7.6.1
- (no CPE)range: < 2.78-7.6.1
- (no CPE)range: < 2.78-0.16.14.1
- (no CPE)range: < 2.78-0.17.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-3.11.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-3.11.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
- (no CPE)range: < 2.78-18.15.1
Patches
Vulnerability mechanics
References
7- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/mitrevendor-advisoryx_refsource_FEDORA
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/mitrevendor-advisoryx_refsource_FEDORA
- security.gentoo.org/glsa/202101-17mitrevendor-advisoryx_refsource_GENTOO
- www.debian.org/security/2021/dsa-4844mitrevendor-advisoryx_refsource_DEBIAN
- bugzilla.redhat.com/show_bug.cgimitrex_refsource_MISC
- lists.debian.org/debian-lts-announce/2021/03/msg00027.htmlmitremailing-listx_refsource_MLIST
- www.jsof-tech.com/disclosures/dnspooq/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.