7.1

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

CVSS: 7.1v2.0HighModified
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 86.69% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities.

Overall risk
46/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v2.0 (NVD)
EPSS score
86.69%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

86.69%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 86.69% on 19-09-2026

19-09-202619-10-2026
EPSS score
86.69%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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