DEBIAN-CVE-2020-25687
Record from OSV · 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. 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| dnsmasq | Debian:14 | 2.83-1 |
| dnsmasq | Debian:13 | 2.83-1 |
| dnsmasq | Debian:12 | 2.83-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | dnsmasq | 0 |
| Debian:13 | dnsmasq | 0 |
| Debian:12 | dnsmasq | 0 |
Timeline
- Jan 20, 2021 CVE Published
- Oct 26, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2020-25687
vulnetix vdb fixes DEBIAN-CVE-2020-25687
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/DEBIAN-CVE-2020-25687/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart