CVE-2020-25687: debian debian_linux Heap-based Buffer Overflow
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.
Advisory lineage
Upstream 0 · Downstream 14 · Related 8Timeline
- 20-01-2021PublishedVulnerability first disclosed.
- 04-11-2025Last 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- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
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
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- dnsmasq< 2.83-1
- debian_linuxEOL9.0 | 10.0
Alpine1 product
- dnsmasq< 2.83-r0
Fedoraproject1 product
- fedoraEOL32 | 33
Thekelleys1 product
- dnsmasq< 2.83
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- lists.debian.org/debian-lts-announce/2021/03/msg00027.htmlMailing ListX Refsource MLISTThird Party Advisory