Home / dnsmasq / dnsmasq / CVE-2026-5172
CVE-2026-5172: is it exploited, and which versions of dnsmasq are affected and fixed?
CVE-2026-5172 is an out-of-bounds write (memory corruption) vulnerability in dnsmasq. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: dnsmasq before 2.92rel2 (CVE record by certcc). Fixed in 2.92rel2 (CVE record by certcc). Severity: High (7.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-5172?
CVE-2026-5172
A buffer overflow in dnsmasq’s extract_addresses() function allows an attacker to trigger a heap out-of-bounds read and crash by exploiting a malformed DNS response, enabling extract_name() to advance the pointer past the record’s end.
From the CVE record by certcc, last updated September 1, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| dnsmasq | dnsmasq | before 2.92rel2 | 2.92rel2 |
As the CVE record by certcc states it, last updated September 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-5172?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-5172 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 13, 2026)
- EPSS
- 2.68% probability of exploitation activity in the next 30 days, percentile 86.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://www.kb.cert.org/vuls/id/471747
- https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
- https://thekelleys.org.uk/dnsmasq/CVE/
- https://github.com/NixOS/nixpkgs/pull/519082
- https://github.com/NixOS/nixpkgs/pull/519093
- https://github.com/pi-hole/FTL/releases/tag/v6.6.2
- https://access.redhat.com/security/cve/CVE-2026-5172 vdb-entry, x_refsource_REDHAT
- RHBZ#2458521 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5172.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:19158 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- March 30, 2026
- Published
- May 11, 2026, 16:48 UTC
- CVE record updated
- September 1, 2026, 12:04 UTC by certcc
- NVD
- Awaiting Analysis, last modified August 24, 2026, 13:19 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect dnsmasq?
- May 11, 2026CVE-2026-4893 dnsmasq: authentication bypass (improper authentication)
- May 11, 2026CVE-2026-4892 dnsmasq: heap buffer overflow
- May 11, 2026CVE-2026-4891 dnsmasq: out-of-bounds read
- May 11, 2026CVE-2026-4890 dnsmasq: infinite loop (denial of service)
- May 11, 2026CVE-2026-2291 dnsmasq: integer overflow
- Aug 29, 2022CVE-2022-0934 dnsmasq: use after free
- Apr 8, 2021CVE-2021-3448 dnsmasq: improperly Implemented Security Check for Standard
- Feb 5, 2021CVE-2020-14312 dnsmasq: improper access control
Questions about CVE-2026-5172
Is CVE-2026-5172 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 2.68% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of dnsmasq are affected by CVE-2026-5172?
dnsmasq before 2.92rel2, per the CVE record by certcc. The tables above give every range the sources list.
Which version fixes CVE-2026-5172?
2.92rel2, per the CVE record by certcc. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-5172?
High (7.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-5172?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.