← back
CVE-2020-25681

CVE-2020-25681

EPSS 81.3%CWE-122
In short

Dnsmasq has a heap memory overflow vulnerability when processing DNS responses with DNSSEC validation. An attacker can exploit this by sending specially crafted DNS replies to potentially run malicious code or crash the system.

Technical detail

A heap-based buffer overflow exists in RRSet sorting during DNSSEC validation in dnsmasq < 2.83. An attacker with network access capable of forging DNS replies can trigger arbitrary heap memory corruption, potentially achieving code execution or denial of service. Requires the victim to accept the forged DNS response as valid.

Summary generated and translated by AI from the official description.
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory segment, possibly executing code on the machine. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Affected products
n/a · dnsmasq

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →