CVE-2020-25687

State
Published
Severity
Not scored
Published
Jan 20, 2021
Updated
Nov 4, 2025
Reserved
Sep 16, 2020

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

Affected Products

ProductVersions
dnsmasqn/a
  • dnsmasq 2.83Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.