7.1

CVE-2020-25687: debian debian_linux Heap-based Buffer Overflow

Modified
AliasesALPINE-CVE-2020-25687UBUNTU-CVE-2020-25687DEBIAN-CVE-2020-25687
Published 20-01-2021Last modified 04-11-2025

Vulnerability summary

CVE-2020-25687 is a high (CVSS 7.1) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 94.01% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v2.0 (NVD)
EPSS score
94.01%
0%100%
Critical · +4.73 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 8

Timeline

  1. 20-01-2021
    PublishedVulnerability first disclosed.
  2. 04-11-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

94.01%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

Increase +4.73 pp

From 89.28% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Alpine1 product
  • dnsmasq< 2.83-r0
Fedoraproject1 product
Thekelleys1 product
Ubuntu1 product
  • dnsmasq< 2.75-1ubuntu0.16.04.7 | < 2.79-1ubuntu0.2 | < 2.80-1.1ubuntu1.2

5 vendors · 6 products

References

15 links
Show all 15 references