A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in forward.c:reply_query(), which is the forwarded query that matches the reply, by only using a weak hash of the query name. Due to the weak hash (CRC32 when dnsmasq is compiled without DNSSEC, SHA-1 when it is) this flaw allows an off-path attacker to find several different domains all having the same hash, substantially reducing the number of attempts they would have to perform to forge a reply and get it accepted by dnsmasq. This is in contrast with RFC5452, which specifies that the query name is one of the attributes of a query that must be used to match a reply. This flaw could be abused to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25684 the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
CVE-2020-25685
Score 3.7 from GitHub Security Advisory published 2022-05-24. NVD baseline CVSS 3.7; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 3.7
- EG Score
- 3.7LOWmedium confidence
- EG Risk
- 22EG Risk 22/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity37% × 45%Exploitation2% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track or Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 2.2%
- EPSS %ILE
- 81st
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track or Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (no KEV listing, exploit record or EPSS ≥ 50%) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
January 20, 2021
Last Modified
November 4, 2025
References (15)
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=1889688
- secalert@redhathttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/
- secalert@redhathttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/
- secalert@redhathttps://security.gentoo.org/glsa/202101-17
- secalert@redhathttps://www.arista.com/en/support/advisories-notices/security-advisories/12135-security-advisory-61
- secalert@redhathttps://www.debian.org/security/2021/dsa-4844
- secalert@redhathttps://www.jsof-tech.com/disclosures/dnspooq/
- af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=1889688
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/
- af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/
- af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202101-17
- af854a3a-2127-422b-91ae-364da2661108https://www.arista.com/en/support/advisories-notices/security-advisories/12135-security-advisory-61
- af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2021/dsa-4844
- af854a3a-2127-422b-91ae-364da2661108https://www.jsof-tech.com/disclosures/dnspooq/
- af854a3a-2127-422b-91ae-364da2661108https://www.kb.cert.org/vuls/id/434904
Vendor Advisories for CVE-2020-25685(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(12)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| ubuntu | dnsmasq-utils (2.75-1ubuntu0.16.04.7) @ xenial | 2026-05-26 | ubuntu |
| redhat | redhat-virtualization-host-0:4.4.4-20210201.0.el8_3 | 2021-02-03 | redhat |
| redhat | redhat-virtualization-host-0:4.3.13-20210127.0.el7_9 | 2021-02-03 | redhat |
| redhat | dnsmasq-0:2.66-14.el7_2.3 | 2021-01-25 | redhat |
| redhat | dnsmasq-0:2.66-21.el7_3.3 | 2021-01-25 | redhat |
| redhat | dnsmasq-0:2.76-10.el7_7.2 | 2021-01-19 | redhat |
| redhat | dnsmasq-0:2.79-13.el8_3.1 | 2021-01-19 | redhat |
| redhat | dnsmasq-0:2.79-11.el8_2.2 | 2021-01-19 | redhat |
| redhat | dnsmasq-0:2.76-2.el7_4.3 | 2021-01-19 | redhat |
| redhat | dnsmasq-0:2.76-7.el7_6.2 | 2021-01-19 | redhat |
| redhat | dnsmasq-0:2.79-6.el8_1.1 | 2021-01-19 | redhat |
| redhat | dnsmasq-0:2.76-16.el7_9.1 | 2021-01-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(20 across 20 ecosystems)
Alpine:v3.10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.15(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.16(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.17(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.18(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.19(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.20(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.21(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.22(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.23(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Alpine:v3.24(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Debian:10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | 2.80-1 |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| dnsmasq | — |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(12)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2021:0150MODERATE2021-01-19
RHSA-2021:0150 — Moderate
- Red HatRHSA-2021:0151MODERATE2021-01-19
RHSA-2021:0151 — Moderate
- Red HatRHSA-2021:0152MODERATE2021-01-19
RHSA-2021:0152 — Moderate
- Red HatRHSA-2021:0153MODERATE2021-01-19
RHSA-2021:0153 — Moderate
- Red HatRHSA-2021:0154MODERATE2021-01-19
RHSA-2021:0154 — Moderate
- Red HatRHSA-2021:0155MODERATE2021-01-19
RHSA-2021:0155 — Moderate
- Red HatRHSA-2021:0156MODERATE2021-01-19
RHSA-2021:0156 — Moderate
- Red HatRHSA-2021:0240MODERATE2021-01-19
RHSA-2021:0240 — Moderate
- Red HatRHSA-2021:0245MODERATE2021-01-19
RHSA-2021:0245 — Moderate
- Red HatRHSA-2021:0395MODERATE2021-01-19
RHSA-2021:0395 — Moderate
- Red HatRHSA-2021:0401MODERATE2021-01-19
RHSA-2021:0401 — Moderate
- UbuntuUSN-4698-1MEDIUM
Dnsmasq vulnerabilities
Data Freshness Timeline
(refreshed 6× in last 7d / 29× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 175 total refreshes for this CVE.
- 2026-10-09 20:04 UTCEPSS rescore
- 2026-10-08 16:38 UTCEPSS rescore
- 2026-10-07 23:44 UTCEPSS rescore
- 2026-10-06 15:13 UTCEPSS rescore
- 2026-10-05 17:39 UTCEPSS rescore
- 2026-10-04 23:18 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-02 16:22 UTCEPSS rescore
- 2026-09-30 15:16 UTCEG score recompute
- 2026-09-30 14:59 UTCEPSS rescore
- 2026-09-27 13:40 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 11:55 UTCOSV refresh
- 2026-09-26 00:20 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-22 14:43 UTCEPSS rescore
- 2026-09-21 20:28 UTCEPSS rescore
- 2026-09-20 20:11 UTCEPSS rescore
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-17 19:22 UTCEPSS rescore
- 2026-09-17 19:22 UTCEPSS rescore
- 2026-09-16 14:04 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-13 16:42 UTCEPSS rescore
- 2026-09-12 14:56 UTCEPSS rescore
- 2026-09-11 14:48 UTCEPSS rescore
- 2026-09-11 09:32 UTCEPSS rescore
- 2026-09-10 09:29 UTCEPSS rescore
- 2026-09-08 21:56 UTCEPSS rescore
- 2026-09-07 15:57 UTCEPSS rescore
- 2026-09-06 23:31 UTCOSV refresh
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-05 15:24 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:03 UTCEPSS rescore
- 2026-09-02 14:08 UTCEPSS rescore
- 2026-09-01 03:32 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:18 UTCEPSS rescore
- 2026-08-27 14:21 UTCEPSS rescore
- 2026-08-26 14:42 UTCEPSS rescore
- 2026-08-25 13:45 UTCEPSS rescore
- 2026-08-21 23:45 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-20 09:31 UTCOSV refresh
- 2026-08-19 17:00 UTCEPSS rescore
- 2026-08-18 13:44 UTCEPSS rescore
- 2026-08-17 13:43 UTCEPSS rescore
- 2026-08-16 14:52 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:26 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-12 13:47 UTCEPSS rescore
- 2026-08-09 13:43 UTCEPSS rescore
- 2026-08-08 16:33 UTCEPSS rescore
- 2026-08-07 16:23 UTCEPSS rescore
- 2026-08-06 13:43 UTCEPSS rescore
- 2026-08-05 19:14 UTCEPSS rescore
- 2026-08-05 04:41 UTCOSV refresh
- 2026-08-04 15:06 UTCEPSS rescore
- 2026-08-04 10:34 UTCEPSS rescore
- 2026-08-03 10:32 UTCEPSS rescore
- 2026-08-02 02:23 UTCEPSS rescore
- 2026-08-01 04:12 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-28 15:32 UTCEPSS rescore
- 2026-07-26 14:51 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-25 14:14 UTCEPSS rescore
- 2026-07-24 14:14 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:51 UTCEG score recompute
- 2026-07-22 22:37 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 03:22 UTCOSV refresh
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:57 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:10:dnsmasq · Alpine:v3.10:dnsmasq
- CVE-2020-25687NVD 5.9EG 9.0EPSS p100CRITICAL
- CVE-2020-25683NVD 5.9EG 9.0EPSS p100CRITICAL
- CVE-2020-25681NVD 8.1EG 8.9EPSS p100HIGH
- CVE-2020-25682NVD 8.1EG 8.8EPSS p99HIGH
- CVE-2020-25686EG 3.7EPSS p92LOW
- CVE-2020-25684EG 3.7EPSS p90LOW
- CVE-2017-14491EG 9.8EPSS p100CRITICAL
- CVE-2017-14493EG 9.8EPSS p100CRITICAL
- CVE-2017-14492EG 9.8EPSS p100CRITICAL
- CVE-2017-14495NVD 7.5EG 9.0EPSS p100CRITICAL
Same vendor
8 shownredhat:RHSA-2021:0150 · redhat:RHSA-2021:0395 · ubuntu:USN-4698-1
Frequently asked(5)
What is CVE-2020-25685?
When was CVE-2020-25685 disclosed?
Is CVE-2020-25685 actively exploited?
What is the CVSS score of CVE-2020-25685?
How do I remediate CVE-2020-25685?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2020-25685
Is Your Infrastructure Affected by CVE-2020-25685?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.