CVE & CISA-KEV Catalog

CVE-2020-25682

HIGHEPSS 99th pctl
8.1
CVSS v3
NVD

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.

How to fix

Remediation Available
dnsmasqDebian
Fixed in:2.83-1CVE-2020-25682
Fixed in:2.83-1CVE-2020-25682
Fixed in:2.83-1CVE-2020-25682
Fixed in:2.83-1CVE-2020-25682
dnsmasqUbuntu
Fixed in:2.75-1ubuntu0.16.04.7USN-4698-1
Fixed in:2.79-1ubuntu0.2USN-4698-1
Fixed in:2.80-1.1ubuntu1.2USN-4698-1
dnsmasq-baseUbuntu
Fixed in:2.75-1ubuntu0.16.04.7USN-4698-1
Fixed in:2.79-1ubuntu0.2USN-4698-1
Fixed in:2.80-1.1ubuntu1.2USN-4698-1
dnsmasq-utilsUbuntu
Fixed in:2.75-1ubuntu0.16.04.7USN-4698-1
Fixed in:2.79-1ubuntu0.2USN-4698-1
Fixed in:2.80-1.1ubuntu1.2USN-4698-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

70.75%probability of exploitation in 30 days
99thpercentile

Very high risk: more likely to be exploited than 99% of all known CVEs.

References

Related Vulnerabilities

Other CWE-122 (Heap-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-3113Critical9.8100%KEVFix
CVE-2024-26256High7.888%-Fix
CVE-2020-25687Medium5.987%-Fix
CVE-2009-3459High8.887%KEVFix
CVE-2021-21017High8.886%KEV-
CVE-2020-25683Medium5.986%-Fix
Embed a live status badge for CVE-2020-25682
CVE-2020-25682 severity badge

Markdown

[![CVE-2020-25682](https://tridentstack.com/cve/badge/CVE-2020-25682.svg)](https://tridentstack.com/cve/CVE-2020-25682)

HTML

<a href="https://tridentstack.com/cve/CVE-2020-25682"><img src="https://tridentstack.com/cve/badge/CVE-2020-25682.svg" alt="CVE-2020-25682"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-04.