8.3

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

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

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.

Priority
Prioritisesevere

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?
CVSS score
8.3/10
010
High · v2.0 (NVD)
EPSS score
75.07%
0%100%
Critical · 0.00 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 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

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

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