# CVE-2020-25686: dnsmasq: A flaw was found in dnsmasq before version 2.83

CVE-2020-25686 is fixed in 4 products on 1 platform, first by dnsmasq 2.79-1ubuntu0.2, released January 18, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-25686
- Priority: Routine
- CVSS: 4.0 (Medium)
- EPSS: 0.0547
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 18, 2021

## Description

A flaw was found in dnsmasq before version 2.83. When receiving a query,dnsmasq does not check for an existing pending request for the same nameand forwards a new request. By default, a maximum of 150 pending queriescan be sent to upstream servers, so there can be at most 150 queries forthe same name. This flaw allows an off-path attacker on the network tosubstantially reduce the number of attempts that it would have to performto forge a reply and have it accepted by dnsmasq. This issue is mentionedin the "Birthday Attacks" section of RFC5452. If chained withCVE-2020-25684, the attack complexity of a successful attack is reduced.The highest threat from this vulnerability is to data integrity.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | dnsmasq RHEL 8 | 0:2.79-13.el8_3.1 | [RHSA-2021:0150](https://patchblox.com/security/data/fix/linux/rhsa-2021-0150.md) | Jan 19, 2021 |
| Linux | dnsmasq Ubuntu 18.04.6 LTS (bionic) | 2.79-1ubuntu0.2 | [dnsmasq 2.79-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-dnsmasq-2.79-1ubuntu0.2.md) | Jan 18, 2021 |
| Linux | dnsmasq Ubuntu 20.04 LTS (focal) | 2.80-1.1ubuntu1.2 | [dnsmasq 2.80-1.1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-dnsmasq-2.80-1.1ubuntu1.2.md) | Jan 18, 2021 |
| Linux | dnsmasq Ubuntu 24.10 (oracular) | 2.82-1ubuntu2 | [dnsmasq 2.82-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-dnsmasq-2.82-1ubuntu2.md) | Jan 19, 2021 |
| Linux | dnsmasq Ubuntu 25.04 (plucky) | 2.82-1ubuntu2 | [dnsmasq 2.82-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-dnsmasq-2.82-1ubuntu2.md) | Jan 19, 2021 |
| Linux | dnsmasq ol 8 | 0:2.79-13.el8_3.1 | [ELSA-2021-0150](https://patchblox.com/security/data/fix/linux/elsa-2021-0150.md) | Jan 20, 2021 |
| Linux | dnsmasq-base Ubuntu 18.04.6 LTS (bionic) | 2.79-1ubuntu0.2 | [dnsmasq-base 2.79-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-dnsmasq-base-2.79-1ubuntu0.2.md) | Jan 18, 2021 |
| Linux | dnsmasq-base Ubuntu 20.04 LTS (focal) | 2.80-1.1ubuntu1.2 | [dnsmasq-base 2.80-1.1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-dnsmasq-base-2.80-1.1ubuntu1.2.md) | Jan 18, 2021 |
| Linux | dnsmasq-base Ubuntu 24.10 (oracular) | 2.82-1ubuntu2 | [dnsmasq-base 2.82-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-dnsmasq-base-2.82-1ubuntu2.md) | Jan 19, 2021 |
| Linux | dnsmasq-base Ubuntu 25.04 (plucky) | 2.82-1ubuntu2 | [dnsmasq-base 2.82-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-dnsmasq-base-2.82-1ubuntu2.md) | Jan 19, 2021 |
| Linux | dnsmasq-base-lua Ubuntu 18.04.6 LTS (bionic) | 2.79-1ubuntu0.2 | [dnsmasq-base-lua 2.79-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-dnsmasq-base-lua-2.79-1ubuntu0.2.md) | Jan 18, 2021 |
| Linux | dnsmasq-base-lua Ubuntu 20.04 LTS (focal) | 2.80-1.1ubuntu1.2 | [dnsmasq-base-lua 2.80-1.1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-dnsmasq-base-lua-2.80-1.1ubuntu1.2.md) | Jan 18, 2021 |
| Linux | dnsmasq-base-lua Ubuntu 24.10 (oracular) | 2.82-1ubuntu2 | [dnsmasq-base-lua 2.82-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-dnsmasq-base-lua-2.82-1ubuntu2.md) | Jan 19, 2021 |
| Linux | dnsmasq-base-lua Ubuntu 25.04 (plucky) | 2.82-1ubuntu2 | [dnsmasq-base-lua 2.82-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-dnsmasq-base-lua-2.82-1ubuntu2.md) | Jan 19, 2021 |
| Linux | dnsmasq-utils RHEL 8 | 0:2.79-13.el8_3.1 | [RHSA-2021:0150](https://patchblox.com/security/data/fix/linux/rhsa-2021-0150.md) | Jan 19, 2021 |
| Linux | dnsmasq-utils Ubuntu 18.04.6 LTS (bionic) | 2.79-1ubuntu0.2 | [dnsmasq-utils 2.79-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-dnsmasq-utils-2.79-1ubuntu0.2.md) | Jan 18, 2021 |
| Linux | dnsmasq-utils Ubuntu 20.04 LTS (focal) | 2.80-1.1ubuntu1.2 | [dnsmasq-utils 2.80-1.1ubuntu1.2](https://patchblox.com/security/data/fix/linux/ubuntu-focal-dnsmasq-utils-2.80-1.1ubuntu1.2.md) | Jan 18, 2021 |
| Linux | dnsmasq-utils Ubuntu 24.10 (oracular) | 2.82-1ubuntu2 | [dnsmasq-utils 2.82-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-dnsmasq-utils-2.82-1ubuntu2.md) | Jan 19, 2021 |
| Linux | dnsmasq-utils Ubuntu 25.04 (plucky) | 2.82-1ubuntu2 | [dnsmasq-utils 2.82-1ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-dnsmasq-utils-2.82-1ubuntu2.md) | Jan 19, 2021 |
| Linux | dnsmasq-utils ol 8 | 0:2.79-13.el8_3.1 | [ELSA-2021-0150](https://patchblox.com/security/data/fix/linux/elsa-2021-0150.md) | Jan 20, 2021 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
