CVE-2020-25682: debian debian_linux Heap-based Buffer Overflow
Vulnerability summary
CVE-2020-25682 is a high (CVSS 8.3) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 75.07% chance of exploitation in the next 30 days, higher than 99.5% of scored vulnerabilities.
Severe, CVSS 8.1 (NVD); no exploitation reported by the 5 checked sources; EPSS 75% (FIRST, 04-12-2026)
Source freshness unavailable
How is this decided?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 2.83. A buffer overflow vulnerability was discovered in the way dnsmasq extract names from DNS packets before validating them with DNSSEC data. An attacker on the network, who can create valid DNS replies, could use this flaw to cause an overflow with arbitrary data in a heap-allocated memory, possibly executing code on the machine. The flaw is in the rfc1035.c:extract_name() function, which writes data to the memory pointed by name assuming MAXDNAME*2 bytes are available in the buffer. However, in some code execution paths, it is possible extract_name() gets passed an offset from the base buffer, thus reducing, in practice, the number of available bytes that can be written in the buffer. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
75.07%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
No change 0.00 pp
From 75.07% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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