Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2020-25685

published

dnsmasq: loose query name check in reply_query() makes forging replies easier for an off-path attacker

Title from Red Hat VEX

Published
20 Jan 2021, 00:00:00 UTC
Updated
04 Nov 2025, 19:12:13 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — dnsmasqdnsmasq 2.83 Affected Not stated redhat
Amazon Linux AL2 Release evaluationALAS2-2021-1587 Fixed Not stated Amazon Linux assessment
Alpine Linux edge dnsmasq Fixed 2.83-r0 Package fix record
Debian buster dnsmasq Advisory build 2.80-1+deb10u1 DSA-4844-1
Oracle Linux 7 dnsmasqaarch64 Advisory build 0:2.76-16.el7_9.1 ELSA-2021-0153
Red Hat Enterprise Linux RHEL-7 dnsmasqppc64 Advisory build 2.76-10.el7_7.2 RHSA-2021:0154
SUSE / openSUSE SLE-11-SP3 dnsmasqi586 Advisory build 2.78-0.16.14.1 SUSE-SU-2021:14604-1
Ubuntu bionic dnsmasq Advisory build 2.79-1ubuntu0.2 USN-4698-1
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.10 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.11 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.12 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.13 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.14 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.15 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.16 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.17 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.18 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.19 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.20 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.21 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.22 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.23 dnsmasq Fixed 2.83-r0 Package fix record
Alpine Linux v3.24 dnsmasq Fixed 2.83-r0 Package fix record
Oracle Linux 7 dnsmasqx86_64 Advisory build 0:2.76-16.el7_9.1 ELSA-2021-0153
Oracle Linux 8 dnsmasqaarch64 Advisory build 0:2.79-13.el8_3.1 ELSA-2021-0150
Oracle Linux 8 dnsmasqx86_64 Advisory build 0:2.79-13.el8_3.1 ELSA-2021-0150
Red Hat Enterprise Linux RHEL-7 dnsmasqppc64 Advisory build 2.76-16.el7_9.1 RHSA-2021:0153
Red Hat Enterprise Linux RHEL-7 dnsmasqppc64 Advisory build 2.76-7.el7_6.2 RHSA-2021:0155
Red Hat Enterprise Linux RHEL-7 dnsmasqppc64le Advisory build 2.76-10.el7_7.2 RHSA-2021:0154
Red Hat Enterprise Linux RHEL-7 dnsmasqppc64le Advisory build 2.76-16.el7_9.1 RHSA-2021:0153
Red Hat Enterprise Linux RHEL-7 dnsmasqppc64le Advisory build 2.76-2.el7_4.3 RHSA-2021:0156
Red Hat Enterprise Linux RHEL-7 dnsmasqppc64le Advisory build 2.76-7.el7_6.2 RHSA-2021:0155
Red Hat Enterprise Linux RHEL-7 dnsmasqs390x Advisory build 2.76-10.el7_7.2 RHSA-2021:0154
Red Hat Enterprise Linux RHEL-7 dnsmasqs390x Advisory build 2.76-16.el7_9.1 RHSA-2021:0153
Red Hat Enterprise Linux RHEL-7 dnsmasqs390x Advisory build 2.76-7.el7_6.2 RHSA-2021:0155
Red Hat Enterprise Linux RHEL-7 dnsmasqsrc Advisory build 2.66-14.el7_2.3 RHSA-2021:0240
Red Hat Enterprise Linux RHEL-7 dnsmasqsrc Advisory build 2.66-21.el7_3.3 RHSA-2021:0245
Red Hat Enterprise Linux RHEL-7 dnsmasqsrc Advisory build 2.76-10.el7_7.2 RHSA-2021:0154
Red Hat Enterprise Linux RHEL-7 dnsmasqsrc Advisory build 2.76-16.el7_9.1 RHSA-2021:0153
Red Hat Enterprise Linux RHEL-7 dnsmasqsrc Advisory build 2.76-2.el7_4.3 RHSA-2021:0156
Red Hat Enterprise Linux RHEL-7 dnsmasqsrc Advisory build 2.76-7.el7_6.2 RHSA-2021:0155
Red Hat Enterprise Linux RHEL-7 dnsmasqx86_64 Advisory build 2.66-14.el7_2.3 RHSA-2021:0240
Red Hat Enterprise Linux RHEL-7 dnsmasqx86_64 Advisory build 2.66-21.el7_3.3 RHSA-2021:0245
Red Hat Enterprise Linux RHEL-7 dnsmasqx86_64 Advisory build 2.76-10.el7_7.2 RHSA-2021:0154
Red Hat Enterprise Linux RHEL-7 dnsmasqx86_64 Advisory build 2.76-16.el7_9.1 RHSA-2021:0153
Red Hat Enterprise Linux RHEL-7 dnsmasqx86_64 Advisory build 2.76-2.el7_4.3 RHSA-2021:0156
Red Hat Enterprise Linux RHEL-7 dnsmasqx86_64 Advisory build 2.76-7.el7_6.2 RHSA-2021:0155
Red Hat Enterprise Linux RHEL-8 dnsmasqaarch64 Advisory build 2.79-11.el8_2.2 RHSA-2021:0151
Red Hat Enterprise Linux RHEL-8 dnsmasqaarch64 Advisory build 2.79-13.el8_3.1 RHSA-2021:0150
Red Hat Enterprise Linux RHEL-8 dnsmasqaarch64 Advisory build 2.79-6.el8_1.1 RHSA-2021:0152
Red Hat Enterprise Linux RHEL-8 dnsmasqppc64le Advisory build 2.79-11.el8_2.2 RHSA-2021:0151
Red Hat Enterprise Linux RHEL-8 dnsmasqppc64le Advisory build 2.79-13.el8_3.1 RHSA-2021:0150
Red Hat Enterprise Linux RHEL-8 dnsmasqppc64le Advisory build 2.79-6.el8_1.1 RHSA-2021:0152
Red Hat Enterprise Linux RHEL-8 dnsmasqs390x Advisory build 2.79-11.el8_2.2 RHSA-2021:0151
Red Hat Enterprise Linux RHEL-8 dnsmasqs390x Advisory build 2.79-13.el8_3.1 RHSA-2021:0150
Red Hat Enterprise Linux RHEL-8 dnsmasqs390x Advisory build 2.79-6.el8_1.1 RHSA-2021:0152
Red Hat Enterprise Linux RHEL-8 dnsmasqsrc Advisory build 2.79-11.el8_2.2 RHSA-2021:0151
Red Hat Enterprise Linux RHEL-8 dnsmasqsrc Advisory build 2.79-13.el8_3.1 RHSA-2021:0150
Red Hat Enterprise Linux RHEL-8 dnsmasqsrc Advisory build 2.79-6.el8_1.1 RHSA-2021:0152
Red Hat Enterprise Linux RHEL-8 dnsmasqx86_64 Advisory build 2.79-11.el8_2.2 RHSA-2021:0151
Red Hat Enterprise Linux RHEL-8 dnsmasqx86_64 Advisory build 2.79-13.el8_3.1 RHSA-2021:0150
Red Hat Enterprise Linux RHEL-8 dnsmasqx86_64 Advisory build 2.79-6.el8_1.1 RHSA-2021:0152
SUSE / openSUSE SLE-11-SP4 dnsmasqi586 Advisory build 2.78-0.17.15.1 SUSE-SU-2021:14603-1
SUSE / openSUSE SLE-11-SP4 dnsmasqppc64 Advisory build 2.78-0.17.15.1 SUSE-SU-2021:14603-1
SUSE / openSUSE SLE-11-SP4 dnsmasqs390x Advisory build 2.78-0.17.15.1 SUSE-SU-2021:14603-1
SUSE / openSUSE SLE-11-SP4 dnsmasqx86_64 Advisory build 2.78-0.17.15.1 SUSE-SU-2021:14603-1
SUSE / openSUSE SLE-12-SP2 dnsmasqppc64le Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP2 dnsmasqs390x Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP2 dnsmasqx86_64 Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP3 dnsmasqaarch64 Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP3 dnsmasqppc64le Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP3 dnsmasqs390x Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP3 dnsmasqx86_64 Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP4 dnsmasqaarch64 Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP4 dnsmasqppc64le Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP4 dnsmasqs390x Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP4 dnsmasqx86_64 Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP5 dnsmasqaarch64 Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP5 dnsmasqppc64le Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP5 dnsmasqs390x Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-12-SP5 dnsmasqx86_64 Advisory build 2.78-18.15.1 SUSE-SU-2021:0166-1
SUSE / openSUSE SLE-15 dnsmasqaarch64 Advisory build 2.78-3.11.1 SUSE-SU-2021:0162-1
SUSE / openSUSE SLE-15 dnsmasqppc64le Advisory build 2.78-3.11.1 SUSE-SU-2021:0162-1
SUSE / openSUSE SLE-15 dnsmasqs390x Advisory build 2.78-3.11.1 SUSE-SU-2021:0162-1
SUSE / openSUSE SLE-15 dnsmasqx86_64 Advisory build 2.78-3.11.1 SUSE-SU-2021:0162-1
SUSE / openSUSE SLE-15-SP1 dnsmasqaarch64 Advisory build 2.78-7.6.1 SUSE-SU-2021:0163-1
SUSE / openSUSE SLE-15-SP1 dnsmasqppc64le Advisory build 2.78-7.6.1 SUSE-SU-2021:0163-1
SUSE / openSUSE SLE-15-SP1 dnsmasqs390x Advisory build 2.78-7.6.1 SUSE-SU-2021:0163-1
SUSE / openSUSE SLE-15-SP1 dnsmasqx86_64 Advisory build 2.78-7.6.1 SUSE-SU-2021:0163-1
SUSE / openSUSE SLE-15-SP2 dnsmasqaarch64 Advisory build 2.78-7.6.1 SUSE-SU-2021:0163-1
SUSE / openSUSE SLE-15-SP2 dnsmasqppc64le Advisory build 2.78-7.6.1 SUSE-SU-2021:0163-1
SUSE / openSUSE SLE-15-SP2 dnsmasqs390x Advisory build 2.78-7.6.1 SUSE-SU-2021:0163-1
SUSE / openSUSE SLE-15-SP2 dnsmasqx86_64 Advisory build 2.78-7.6.1 SUSE-SU-2021:0163-1
SUSE / openSUSE openSUSE-Leap-15.1 dnsmasqi586 Advisory build 2.78-lp151.5.6.1 OPENSUSE-SU-2021:0129-1
SUSE / openSUSE openSUSE-Leap-15.1 dnsmasqx86_64 Advisory build 2.78-lp151.5.6.1 OPENSUSE-SU-2021:0129-1
SUSE / openSUSE openSUSE-Leap-15.2 dnsmasqi586 Advisory build 2.78-lp152.7.3.1 OPENSUSE-SU-2021:0124-1
SUSE / openSUSE openSUSE-Leap-15.2 dnsmasqx86_64 Advisory build 2.78-lp152.7.3.1 OPENSUSE-SU-2021:0124-1
SUSE / openSUSE openSUSE-Tumbleweed dnsmasqaarch64 Advisory build 2.86-1.1 OPENSUSE-SU-2024:10721-1
SUSE / openSUSE openSUSE-Tumbleweed dnsmasqppc64le Advisory build 2.86-1.1 OPENSUSE-SU-2024:10721-1
SUSE / openSUSE openSUSE-Tumbleweed dnsmasqs390x Advisory build 2.86-1.1 OPENSUSE-SU-2024:10721-1
SUSE / openSUSE openSUSE-Tumbleweed dnsmasqx86_64 Advisory build 2.86-1.1 OPENSUSE-SU-2024:10721-1
Ubuntu focal dnsmasq Advisory build 2.80-1.1ubuntu1.2 USN-4698-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

44

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a dnsmasq dnsmasq 2.83 (affected) redhat · cna

Weaknesses

1
  • CWE-326 (redhat · cna)

References

8

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
9966613e1e687fd182849d4be5a6d1e2c3fbee6d8fb36c5ac82679c4fc4cf04a
Ingested
23 Sep 2026, 07:49:45 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected