8.3

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

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

Overall risk
47/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.3/10
010
High · v2.0 (NVD)
EPSS score
70.75%
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 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

70.75%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

0.00 pp

From 70.75% on 19-09-2026

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

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