CVE-2026-5172
published high CVSS 3.1 · 7.5Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dnsmasq | — | dnsmasq0 to < 2.92rel2 | Affected | Not stated | certcc |
| Red Hat Enterprise Linux | 10 | dnsmasq0:2.90-7.el10_2 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 6 | dnsmasq | Unknown | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 7 | dnsmasq | Unaffected | Not required | redhat-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2DNSMASQ-2026-004 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | dnsmasq | Advisory build | 2.90-7.el10_2 | ALSA-2026:19158 |
| Alpine Linux | edge | dnsmasq | Fixed | 2.92_p2-r0 | Package fix record |
Show 101 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8, 9 | dnsmasq | Affected | Not stated | redhat-SADP |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat-SADP |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1729 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | dnsmasq | Advisory build | 2.90-4~deb12u2 | DSA-6264-1 |
| Oracle Linux | 10 | dnsmasqaarch64 | Advisory build | 0:2.90-7.el10_2 | ELSA-2026-19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqaarch64 | Advisory build | 2.90-4.el10_0.1 | RHSA-2026:92677 |
| SUSE / openSUSE | SLE-12-SP5 | dnsmasqaarch64 | Advisory build | 2.92rel2-18.27.1 | SUSE-SU-2026:2458-1 |
| Ubuntu | bionic | dnsmasq | Advisory build | 2.90-0ubuntu0.18.04.1+esm3 | USN-8268-1 |
| Alpine Linux | v3.22 | dnsmasq | Fixed | 2.91-r1 | Package fix record |
| Alpine Linux | v3.23 | dnsmasq | Fixed | 2.91-r1 | Package fix record |
| Alpine Linux | v3.24 | dnsmasq | Fixed | 2.92_p2-r0 | Package fix record |
| Debian | trixie | dnsmasq | Advisory build | 2.91-1+deb13u1 | DSA-6264-1 |
| Oracle Linux | 10 | dnsmasqx86_64 | Advisory build | 0:2.90-7.el10_2 | ELSA-2026-19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqaarch64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqppc64le | Advisory build | 2.90-4.el10_0.1 | RHSA-2026:92677 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqppc64le | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqs390x | Advisory build | 2.90-4.el10_0.1 | RHSA-2026:92677 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqs390x | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqsrc | Advisory build | 2.90-4.el10_0.1 | RHSA-2026:92677 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqsrc | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqx86_64 | Advisory build | 2.90-4.el10_0.1 | RHSA-2026:92677 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasqx86_64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| SUSE / openSUSE | SLE-12-SP5 | dnsmasqppc64le | Advisory build | 2.92rel2-18.27.1 | SUSE-SU-2026:2458-1 |
| SUSE / openSUSE | SLE-12-SP5 | dnsmasqs390x | Advisory build | 2.92rel2-18.27.1 | SUSE-SU-2026:2458-1 |
| SUSE / openSUSE | SLE-12-SP5 | dnsmasqx86_64 | Advisory build | 2.92rel2-18.27.1 | SUSE-SU-2026:2458-1 |
| SUSE / openSUSE | SLE-15-SP4 | dnsmasqaarch64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP4 | dnsmasqppc64le | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP4 | dnsmasqs390x | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP4 | dnsmasqx86_64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP5 | dnsmasqaarch64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP5 | dnsmasqppc64le | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP5 | dnsmasqs390x | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP5 | dnsmasqx86_64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP6 | dnsmasqaarch64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP6 | dnsmasqppc64le | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP6 | dnsmasqs390x | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP6 | dnsmasqx86_64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP7 | dnsmasqaarch64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP7 | dnsmasqppc64le | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP7 | dnsmasqs390x | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-15-SP7 | dnsmasqx86_64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-16 | dnsmasqaarch64 | Advisory build | 2.92rel2-160000.1.1 | SUSE-SU-2026:21788-1 |
| SUSE / openSUSE | SLE-16 | dnsmasqppc64le | Advisory build | 2.92rel2-160000.1.1 | SUSE-SU-2026:21788-1 |
| SUSE / openSUSE | SLE-16 | dnsmasqs390x | Advisory build | 2.92rel2-160000.1.1 | SUSE-SU-2026:21788-1 |
| SUSE / openSUSE | SLE-16 | dnsmasqx86_64 | Advisory build | 2.92rel2-160000.1.1 | SUSE-SU-2026:21788-1 |
| SUSE / openSUSE | SLE-5 | dnsmasqaarch64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-5 | dnsmasqppc64le | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-5 | dnsmasqs390x | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | SLE-5 | dnsmasqx86_64 | Advisory build | 2.92rel2-150400.16.12.1 | SUSE-SU-2026:1934-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasqaarch64 | Advisory build | 2.92rel2-160000.1.1 | OPENSUSE-SU-2026:20748-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasqppc64le | Advisory build | 2.92rel2-160000.1.1 | OPENSUSE-SU-2026:20748-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasqs390x | Advisory build | 2.92rel2-160000.1.1 | OPENSUSE-SU-2026:20748-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasqx86_64 | Advisory build | 2.92rel2-160000.1.1 | OPENSUSE-SU-2026:20748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasqaarch64 | Advisory build | 2.92rel2-1.1 | OPENSUSE-SU-2026:10821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasqppc64le | Advisory build | 2.92rel2-1.1 | OPENSUSE-SU-2026:10821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasqs390x | Advisory build | 2.92rel2-1.1 | OPENSUSE-SU-2026:10821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasqx86_64 | Advisory build | 2.92rel2-1.1 | OPENSUSE-SU-2026:10821-1 |
| Ubuntu | focal | dnsmasq | Advisory build | 2.90-0ubuntu0.20.04.1+esm2 | USN-8268-1 |
| Ubuntu | jammy | dnsmasq | Advisory build | 2.90-0ubuntu0.22.04.3 | USN-8268-1 |
| Ubuntu | noble | dnsmasq | Advisory build | 2.90-2ubuntu0.3 | USN-8268-1 |
| Ubuntu | questing | dnsmasq | Advisory build | 2.91-1ubuntu0.2 | USN-8268-1 |
| Ubuntu | resolute | dnsmasq | Advisory build | 2.92-1ubuntu0.2 | USN-8268-1 |
| Ubuntu | xenial | dnsmasq | Advisory build | 2.90-0ubuntu0.16.04.1+esm3 | USN-8268-1 |
| AlmaLinux | 10 | dnsmasq-utils | Advisory build | 2.90-7.el10_2 | ALSA-2026:19158 |
| Oracle Linux | 10 | dnsmasq-utilsaarch64 | Advisory build | 0:2.90-7.el10_2 | ELSA-2026-19158 |
| Oracle Linux | 10 | dnsmasq-utilsx86_64 | Advisory build | 0:2.90-7.el10_2 | ELSA-2026-19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-debuginfoaarch64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-debuginfoppc64le | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-debuginfos390x | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-debuginfox86_64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-debugsourceaarch64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-debugsourceppc64le | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-debugsources390x | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-debugsourcex86_64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-utilsaarch64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-utilsppc64le | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-utilss390x | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-utilsx86_64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-utils-debuginfoaarch64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-utils-debuginfoppc64le | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-utils-debuginfos390x | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| Red Hat Enterprise Linux | RHEL-10 | dnsmasq-utils-debuginfox86_64 | Advisory build | 2.90-7.el10_2 | RHSA-2026:19158 |
| SUSE / openSUSE | SLE-16 | dnsmasq-utilsaarch64 | Advisory build | 2.92rel2-160000.1.1 | SUSE-SU-2026:21788-1 |
| SUSE / openSUSE | SLE-16 | dnsmasq-utilsppc64le | Advisory build | 2.92rel2-160000.1.1 | SUSE-SU-2026:21788-1 |
| SUSE / openSUSE | SLE-16 | dnsmasq-utilss390x | Advisory build | 2.92rel2-160000.1.1 | SUSE-SU-2026:21788-1 |
| SUSE / openSUSE | SLE-16 | dnsmasq-utilsx86_64 | Advisory build | 2.92rel2-160000.1.1 | SUSE-SU-2026:21788-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasq-utilsaarch64 | Advisory build | 2.92rel2-160000.1.1 | OPENSUSE-SU-2026:20748-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasq-utilsppc64le | Advisory build | 2.92rel2-160000.1.1 | OPENSUSE-SU-2026:20748-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasq-utilss390x | Advisory build | 2.92rel2-160000.1.1 | OPENSUSE-SU-2026:20748-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasq-utilsx86_64 | Advisory build | 2.92rel2-160000.1.1 | OPENSUSE-SU-2026:20748-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasq-utilsaarch64 | Advisory build | 2.92rel2-1.1 | OPENSUSE-SU-2026:10821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasq-utilsppc64le | Advisory build | 2.92rel2-1.1 | OPENSUSE-SU-2026:10821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasq-utilss390x | Advisory build | 2.92rel2-1.1 | OPENSUSE-SU-2026:10821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasq-utilsx86_64 | Advisory build | 2.92rel2-1.1 | OPENSUSE-SU-2026:10821-1 |
| Ubuntu | bionic | dnsmasq-base | Advisory build | 2.90-0ubuntu0.18.04.1+esm3 | USN-8268-1 |
| Ubuntu | bionic | dnsmasq-base-lua | Advisory build | 2.90-0ubuntu0.18.04.1+esm3 | USN-8268-1 |
| Ubuntu | bionic | dnsmasq-utils | Advisory build | 2.90-0ubuntu0.18.04.1+esm3 | USN-8268-1 |
| Ubuntu | focal | dnsmasq-base | Advisory build | 2.90-0ubuntu0.20.04.1+esm2 | USN-8268-1 |
| Ubuntu | focal | dnsmasq-base-lua | Advisory build | 2.90-0ubuntu0.20.04.1+esm2 | USN-8268-1 |
| Ubuntu | focal | dnsmasq-utils | Advisory build | 2.90-0ubuntu0.20.04.1+esm2 | USN-8268-1 |
| Ubuntu | jammy | dnsmasq-base | Advisory build | 2.90-0ubuntu0.22.04.3 | USN-8268-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
A heap out-of-bounds read vulnerability was discovered in dnsmasq's DNS response processing. The extract_addresses() function trusts the declared record data length (rdlen) without verifying that a subsequent call to extract_name() stays within the record boundary. A crafted DNS response with a mismatched rdlen causes the remaining-bytes calculation to underflow, resulting in a massive out-of-bounds read and process crash.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- redhat-SADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | CISA-ADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dnsmasq | dnsmasq | 0 to < 2.92rel2 (affected · custom) | certcc · cna |
| Red Hat | Red Hat Enterprise Linux 10 | 0:2.90-7.el10_2 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-787 CWE-787: Out-of-bounds Write
- CWE-125 Out-of-bounds Read
References
10- https://access.redhat.com/errata/RHSA-2026:19158
- https://access.redhat.com/security/cve/CVE-2026-5172
- RHBZ#2458521 https://bugzilla.redhat.com/show_bug.cgi?id=2458521
- 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://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5172.json
- https://thekelleys.org.uk/dnsmasq/CVE/
- https://www.kb.cert.org/vuls/id/471747
Provider assertions
3certcc · cna
CVE-2026-5172
redhat-SADP · adp
dnsmasq: extract_addresses() OOB read via malformed rdlen
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ae66e62bae88e7775f8097da87313ed435aaccb880435ef8e3c0dcee5c88da84
- Ingested
- 23 Sep 2026, 09:23:13 UTC
- Source record
- Official CVE record