Buffer overflow in Thekelleys Dnsmasq

CVE-2020-25681

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.

Vulnerability class: Buffer Overflow

EPSS: 0.812 (99.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-25681?
CVE-2020-25681 is a high-severity vulnerability in Thekelleys Dnsmasq, classified under Heap-based Buffer Overflow. CVSS score: 8.1/10. Published 2021-01-20.
How severe is CVE-2020-25681?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2020-25681 known to be exploited?
7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.