CVE Tools

CVE-2020-25687

CVE-2020-25687 is a heap overflow in Dnsmasq (CVSS 5.9, Medium).

Exploitation likely. EPSS gives it a 94% chance of exploitation in the next 30 days. Fixed in 2.83.

Check it yourself

OpenVAS · 38 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.117167

Run the check

Published Updated Sources: CVE.org, NVD, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • N/a DnsmasqAffected: dnsmasq 2.83Upgrade to: not statedStated by: CVE record
  • Thekelleys DnsmasqAffected: < 2.83Upgrade to: 2.83Stated by: NVD
  • Open-source community Debian GNU/LinuxAffected: 9Upgrade to: not statedStated by: BDU
  • RusBITech-Astra Astra Linux Special EditionAffected: 1.6 «Smolensk»Upgrade to: not statedStated by: BDU
  • RusBITech-Astra Astra Linux Common EditionAffected: 2.12 «Orel»Upgrade to: not statedStated by: BDU

Versions as the sources state them. 4 more products have version data. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Check if your network devices, routers, or Linux servers run dnsmasq with DNSSEC enabled.
  2. If you don't manage this yourself, ask your IT provider or device vendor whether dnsmasq is in use and whether DNSSEC validation is on.
  3. Upgrade dnsmasq to version 2.83 or later, or install the vendor patch for your Linux distribution (Debian, Fedora, Astra Linux, Alt Linux all have fixes available).
  4. If you can't patch immediately, disabling DNSSEC validation in dnsmasq removes the exposure until you can update.
Check it yourselfA free OpenVAS check exists for this CVE. Run it against your hosts.
Is your organisation exposed?Request a free pilot to establish which checks fit your systems.

SeguriScan is made by IntruForce, a cybersecurity company in Madrid, Spain. Links open intruforce.com.

What it is

From the CVE record

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. This flaw allows a remote attacker, who can create valid DNS replies, 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 sort_rrset() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.

In plain language

Written by AI from the record

A bug in the dnsmasq DNS software (used by many routers and Linux systems) could let an attacker crash it, but there's no evidence anyone is actually doing this, so most small businesses don't need to panic — just update when convenient.

Heap-based buffer overflow in dnsmasq's DNSSEC validation path (rfc1035.c extract_name(), triggering a negative-size memcpy in sort_rrset()) lets a remote attacker able to send crafted DNS replies crash the service, fixed in 2.83.

If you're affected

  • Network/DNS service outage
  • Device or server crash
  • Operational disruption if DNS unavailable

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS99th
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

94% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

10 events over 2126 days, from the signal feeds we watch.

  1. EPSS band changehigh → criticalepss band change
  2. EPSS band changehigh → critical
  3. OpenVAS check added
  4. EPSS band changemoderate → high
  5. Patch availablerecord updated
  6. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

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

Scored 5.9 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality NoneNo confidentiality impact
  • Integrity NoneNo integrity impact
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2020-25687

Is CVE-2020-25687 being exploited?
No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 94%.
Which versions are affected by CVE-2020-25687?
Astra Linux Special Edition: 1.6 «Smolensk». Astra Linux Common Edition: 2.12 «Orel». Dnsmasq: dnsmasq 2.83. 6 more products are listed in the record.
How do I fix or mitigate CVE-2020-25687?
Upgrade to 2.83 or later. The advisory is on security.gentoo.org.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for RusBITech-Astra, not every advisory.