Home / dnsmasq / dnsmasq / CVE-2020-25684
CVE-2020-25684: is it exploited, and which versions of dnsmasq are affected and fixed?
CVE-2020-25684 is an improperly Implemented Security Check for Standard 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, 13:38 UTC). Affected: dnsmasq dnsmasq 2.83 (CVE record by redhat). Fixed in 2.83, 4.21.14m, 4.22.9m, 4.23.7m and 2 more (NVD). Severity: Low (3.7, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:04 UTC.
What is CVE-2020-25684?
A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in the forward.c:reply_query() if the reply destination address/port is used by the pending forwarded queries. However, it does not use the address/port to retrieve the exact forwarded query, substantially reducing the number of attempts an attacker on the network would have to perform to forge a reply and get it accepted by dnsmasq. This issue contrasts with RFC5452, which specifies a query's attributes that all must be used to match a reply. This flaw allows an attacker to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25685 or CVE-2020-25686, the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
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 |
| arista | eos | from 4.21 before 4.21.14m | operating system |
| arista | eos | from 4.22 before 4.22.9m | operating system |
| arista | eos | from 4.23 before 4.23.7m | operating system |
| arista | eos | from 4.24 before 4.24.5m | operating system |
| arista | eos | from 4.25 before 4.25.2f | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 03:07 UTC.
How severe is CVE-2020-25684?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | 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-25684 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.16% probability of exploitation activity in the next 30 days, percentile 91.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-358 Improperly Implemented Security Check for Standard
Where are the vendor advisories and references?
- https://bugzilla.redhat.com/show_bug.cgi?id=1889686 x_refsource_MISC
- https://www.jsof-tech.com/disclosures/dnspooq/ 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.arista.com/en/support/advisories-notices/security-advisories/12135-security-advisory-61 x_refsource_MISC
- 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:22 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, 13:38 UTC; EPSS December 2, 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-25684
Is CVE-2020-25684 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 4.16% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of dnsmasq are affected by CVE-2020-25684?
dnsmasq dnsmasq 2.83, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2020-25684?
2.83, 4.21.14m, 4.22.9m, 4.23.7m, 4.24.5m and 4.25.2f, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-25684?
Low (3.7, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-25684?
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.