Home / dnsmasq / dnsmasq / CVE-2020-25683
CVE-2020-25683: is it exploited, and which versions of dnsmasq are affected and fixed?
CVE-2020-25683 is a heap buffer overflow vulnerability in dnsmasq. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: dnsmasq dnsmasq 2.83 (CVE record by redhat). Fixed in 2.83 (NVD). Severity: Medium (5.9, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:04 UTC.
What is CVE-2020-25683?
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.
From the CVE record by redhat, last updated November 4, 2025, 19:12 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| dnsmasq | dnsmasq 2.83 |
As the CVE record by redhat states it, last updated November 4, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| thekelleys | dnsmasq | before 2.83 | application |
| fedoraproject | fedora | 32 | operating system |
| fedoraproject | fedora | 33 | operating system |
| debian | debian linux | 9.0 | operating system |
| debian | debian linux | 10.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:07 UTC.
How severe is CVE-2020-25683?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| High 7.1 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-25683 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 88.8% probability of exploitation activity in the next 30 days, percentile 99.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-122 Heap-based Buffer Overflow
Where are the vendor advisories and references?
- https://www.jsof-tech.com/disclosures/dnspooq/ x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=1882018 x_refsource_MISC
- FEDORA-2021-84440e87ba vendor-advisory, x_refsource_FEDORA
- GLSA-202101-17 vendor-advisory, x_refsource_GENTOO
- DSA-4844 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2021-2e4c3d5a9d vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20210322 [SECURITY] [DLA 2604-1] dnsmasq security update mailing-list, x_refsource_MLIST
- https://www.kb.cert.org/vuls/id/434904
When was it published, and where is the official record?
- Reserved
- September 16, 2020
- Published
- January 20, 2021, 15:25 UTC
- CVE record updated
- November 4, 2025, 19:12 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 03:07 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:04 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect dnsmasq?
- May 11, 2026CVE-2026-5172 dnsmasq: out-of-bounds write (memory corruption)
- May 11, 2026CVE-2026-4893 dnsmasq: authentication bypass (improper authentication)
- May 11, 2026CVE-2026-4892 dnsmasq: heap buffer overflow
- May 11, 2026CVE-2026-4891 dnsmasq: out-of-bounds read
- May 11, 2026CVE-2026-4890 dnsmasq: infinite loop (denial of service)
- May 11, 2026CVE-2026-2291 dnsmasq: integer overflow
- Aug 29, 2022CVE-2022-0934 dnsmasq: use after free
- Apr 8, 2021CVE-2021-3448 dnsmasq: improperly Implemented Security Check for Standard
Questions about CVE-2020-25683
Is CVE-2020-25683 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 88.8% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of dnsmasq are affected by CVE-2020-25683?
dnsmasq dnsmasq 2.83, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2020-25683?
2.83, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-25683?
Medium (5.9, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-25683?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.