CVE-2020-25683
Reported by redhat · Published January 20, 2021
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.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | dnsmasq | dnsmasq 2.83 |
| n/a | dnsmasq | 2.83 |
| alpine | dnsmasq | 0 |
| arch | dnsmasq | 0 |
Timeline
- Jan 18, 2021 CVE Published
- Jan 20, 2021 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 4, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (15 in total, the first dated here)
- Mar 6, 2026 Security Advisory (20 in total, the first dated here)
- Sep 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-25683
vulnetix vdb fixes CVE-2020-25683
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-25683/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2021-84440e87ba vendor-advisoryx_refsource_FEDORA
- GLSA-202101-17 vendor-advisoryx_refsource_GENTOO
- DSA-4844 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2021-2e4c3d5a9d vendor-advisoryx_refsource_FEDORA
- [debian-lts-announce] 20210322 [SECURITY] [DLA 2604-1] dnsmasq security update mailing-listx_refsource_MLIST
- https://www.kb.cert.org/vuls/id/434904 advisory