Skip to content
Noroxi
CVE-2020-25681· NVD / CVE Program· CNA redhat

A flaw was found in dnsmasq before version 2.83.

A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory segment, possibly executing code on the machine. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

HighCVSS 8.1 · v3.1—No exploit Fix available
Published
Jan 20, 2021
Updated
Jun 16, 2026
EPSS
81.2% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

56

Plan

Add it to your regular patch cycle.

CVSS
32 / 40 · 8.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
24 / 30 · 81.2%

Affected systems

VendorProduct
thekelleysdnsmasq
fedoraprojectfedora
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux9.0
  • fedoraproject fedora32
  • fedoraproject fedora33
  • thekelleys dnsmasqbefore 2.83

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a dnsmasq

    • dnsmasq 2.83affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10dnsmasqbefore 2.83-r02.83-r0
Debian:10dnsmasqbefore 2.80-1+deb10u12.80-1+deb10u1
Debian:12dnsmasqbefore 2.83-12.83-1
Debian:9dnsmasqbefore 2.76-5+deb9u32.76-5+deb9u3
openSUSE:Leap 15.1dnsmasqbefore 2.78-lp151.5.6.12.78-lp151.5.6.1
openSUSE:Leap 15.2dnsmasqbefore 2.78-lp152.7.3.12.78-lp152.7.3.1
openSUSE:Tumbleweeddnsmasqbefore 2.86-1.12.86-1.1
Red Hat:enterprise_linux:8::appstreamdnsmasqbefore 0:2.79-13.el8_3.10:2.79-13.el8_3.1
Red Hat:enterprise_linux:8::appstreamdnsmasq-debuginfobefore 0:2.79-13.el8_3.10:2.79-13.el8_3.1
Red Hat:enterprise_linux:8::appstreamdnsmasq-debugsourcebefore 0:2.79-13.el8_3.10:2.79-13.el8_3.1
Red Hat:enterprise_linux:8::appstreamdnsmasq-utilsbefore 0:2.79-13.el8_3.10:2.79-13.el8_3.1
Red Hat:enterprise_linux:8::appstreamdnsmasq-utils-debuginfobefore 0:2.79-13.el8_3.10:2.79-13.el8_3.1
Red Hat:rhel_eus:8.1::appstreamdnsmasqbefore 0:2.79-6.el8_1.10:2.79-6.el8_1.1
Red Hat:rhel_eus:8.1::appstreamdnsmasq-debuginfobefore 0:2.79-6.el8_1.10:2.79-6.el8_1.1
Red Hat:rhel_eus:8.1::appstreamdnsmasq-debugsourcebefore 0:2.79-6.el8_1.10:2.79-6.el8_1.1
Red Hat:rhel_eus:8.1::appstreamdnsmasq-utilsbefore 0:2.79-6.el8_1.10:2.79-6.el8_1.1
Red Hat:rhel_eus:8.1::appstreamdnsmasq-utils-debuginfobefore 0:2.79-6.el8_1.10:2.79-6.el8_1.1
Red Hat:rhel_eus:8.2::appstreamdnsmasqbefore 0:2.79-11.el8_2.20:2.79-11.el8_2.2
Red Hat:rhel_eus:8.2::appstreamdnsmasq-debuginfobefore 0:2.79-11.el8_2.20:2.79-11.el8_2.2
Red Hat:rhel_eus:8.2::appstreamdnsmasq-debugsourcebefore 0:2.79-11.el8_2.20:2.79-11.el8_2.2
Red Hat:rhel_eus:8.2::appstreamdnsmasq-utilsbefore 0:2.79-11.el8_2.20:2.79-11.el8_2.2
Red Hat:rhel_eus:8.2::appstreamdnsmasq-utils-debuginfobefore 0:2.79-11.el8_2.20:2.79-11.el8_2.2
SUSE:HPE Helion OpenStack 8dnsmasqbefore 2.78-18.15.12.78-18.15.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOSdnsmasqbefore 2.78-3.11.12.78-3.11.1

+3

Other highest-scoring records for the same primary product.

  • CVE-2017-14491Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via
    64This week
  • CVE-2020-25682A flaw was found in dnsmasq before 2.83.
    53Plan
  • CVE-2020-25687A flaw was found in dnsmasq before version 2.83.
    49Plan
  • CVE-2020-25683A flaw was found in dnsmasq before version 2.83.
    49Plan
  • CVE-2021-45957Dnsmasq 2.86 has a heap-based buffer overflow in answer_request (called from FuzzAnswerTheRequest and fuzz_rfc1035.c).
    40Plan
  • CVE-2021-45956Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply).
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Alpine:dnsmasq2.83-r0 · Alpine:v3.10Package registry (OSV)
Debian:dnsmasq2.83-1 · Debian:12Package registry (OSV)
openSUSE:dnsmasq2.78-lp152.7.3.1 · openSUSE:Leap 15.2Package registry (OSV)
Red Hat:dnsmasq0:2.79-13.el8_3.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
Red Hat:dnsmasq-debuginfo0:2.79-13.el8_3.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
Red Hat:dnsmasq-debugsource0:2.79-13.el8_3.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
Red Hat:dnsmasq-utils0:2.79-13.el8_3.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
Red Hat:dnsmasq-utils-debuginfo0:2.79-13.el8_3.1 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
SUSE:dnsmasq2.78-3.11.1 · SUSE:Linux Enterprise High Performance Computing 15-ESPOSPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records