CVE-2020-25681: Buffer Overflow

Published Sep 23, 2020
·
Updated

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.

Other sources

An heap-based buffer overflow was discovered in dnsmasq in the way it sorts RRSets before validating them with DNSSEC data. An attacker, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause an overflow with arbitrary data in a heap-allocated memory, possibly executing code on the machine.

Red Hat

Affected Software

7 affected componentsFixes available
debian/dnsmasq
2.80-1+deb10u12.85-12.89-1
redhat/dnsmasq<2.83
2.83
thekelleys dnsmasq<2.83
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Debian Debian Linux=9.0
Debian Debian Linux=10.0

Event History

Jan 20, 2021
CVE Published
via MITRE·04:36 PM
Data Sourced
via MITRE·04:36 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-25681?

CVE-2020-25681 is a vulnerability in dnsmasq before version 2.83 that allows a heap-based buffer overflow.

2

What is the impact of CVE-2020-25681?

The impact of CVE-2020-25681 is that an attacker on the network can cause a buffer overflow by forging DNS replies.

3

Which software versions are affected by CVE-2020-25681?

dnsmasq versions up to 2.83, Fedora 32 and 33, Debian Linux 9.0 and 10.0 are affected by CVE-2020-25681.

4

How can I fix CVE-2020-25681?

Upgrade to dnsmasq version 2.83 or apply the appropriate patch provided by your distribution.

5

Where can I find more information about CVE-2020-25681?

You can find more information about CVE-2020-25681 at the following references: [link1], [link2], [link3].

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203