- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.7%
- EPSS 2.7% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- dnsmasq dnsmasq 2.92rel2
- Red Hat Red Hat Enterprise Linux 10 0:2.90-7.el10_2
- dnsmasq Debian 12 2.90-4~deb12u2
- dnsmasq Debian 13 2.91-1+deb13u1
- dnsmasq Debian 14 2.92-5
debian advisories DEBIAN-CVE-2026-5172
- dnsmasq Ubuntu 22.04 LTS 2.90-0ubuntu0.22.04.3
- dnsmasq Ubuntu 24.04 LTS 2.90-2ubuntu0.3
- dnsmasq Ubuntu 25.10 2.91-1ubuntu0.2
- dnsmasq Ubuntu 26.04 LTS 2.92-1ubuntu0.2
- dnsmasq Ubuntu Pro 16.04 LTS 2.90-0ubuntu0.16.04.1+esm3
- dnsmasq Ubuntu Pro 18.04 LTS 2.90-0ubuntu0.18.04.1+esm3
- dnsmasq Ubuntu Pro 20.04 LTS 2.90-0ubuntu0.20.04.1+esm2
ubuntu advisories UBUNTU-CVE-2026-5172
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- dnsmasq RHEL 10.2 2.90-7.el10_2
- dnsmasq-utils RHEL 10.2 2.90-7.el10_2
red hat advisories RHSA-2026:19158
- dnsmasq SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 2.92rel2-18.27.1
suse advisories SUSE-SU-2026:2458-1
- dnsmasq openSUSE Tumbleweed 2.92rel2-1.1
opensuse advisories openSUSE-SU-2026:10821-1
- dnsmasq AlmaLinux 10 2.90-7.el10_2
- dnsmasq-utils AlmaLinux 10 2.90-7.el10_2
almalinux advisories ALSA-2026:19158
- dnsmasq Rocky Linux 10 2.90-7.el10_2
rocky linux advisories RLSA-2026:19158
- dnsmasq Alpine 3.23, Alpine 3.22 2.91-r1
- dnsmasq Alpine 3.24 2.92_p2-r0
alpine advisories ALPINE-CVE-2026-5172
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/NixOS/nixpkgs#519082 pull request
- github.com/NixOS/nixpkgs#519093 pull request
- github.com/pi-hole/FTL/releases/tag/v6.6.2 release
Is CVE-2026-5172 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-5172 updated cvss 7.5
dnsmasq: extract_addresses() OOB read via malformed rdlen
-
Red Hat Enterprise Linux 6 dnsmasq, dnsmasq-utilsaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 dnsmasq, dnsmasq-utils Red Hat Enterprise Linux 9 dnsmasq, dnsmasq-utilsaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8affected: no fix available
-
Red Hat Enterprise Linux AppStream (v. 10) dnsmasq 2.90-7.el10_2, dnsmasq-utils 2.90-7.el10_2fixed: vendor fix RHSA-2026:19158
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) dnsmasq 2.90-4.el10_0.1fixed: vendor fix RHSA-2026:92677
-
Red Hat Enterprise Linux 7 dnsmasq, dnsmasq-utils Red Hat Enterprise Linux AppStream EUS (v. 10.0) dnsmasq-utils 2.90-4.el10_0.1not affected: vulnerable code not present
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9not affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5mo ago
Exploit prediction
2.68% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- dnsmasq dnsmasq
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat OpenShift Container Platform 4
Classification
- Weakness
-
- CWE-125 Out-of-bounds Read
References
- github.com /NixOS/nixpkgs/pull/519082
- github.com /NixOS/nixpkgs/pull/519093
-
access.redhat.com
/errata/RHSA-2026:19158
vendor-advisory
- kb.cert.org /vuls/id/471747
- lists.thekelleys.org.uk /pipermail/dnsmasq-discuss/2026q2/018471.html
- thekelleys.org.uk /dnsmasq/CVE/
- github.com /pi-hole/FTL/releases/tag/v6.6.2
-
access.redhat.com
/security/cve/CVE-2026-5172
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2458521
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-5172.json
Sources
- CVE List CVE-2026-5172
- NVD CVE-2026-5172
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.