CVE-2026-12725
published medium CVSS 3.1 · 5.9Dnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported ds/dnskey replies
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8, 9, 10 | dnsmasq | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | dnsmasq | Unaffected | Not required | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | dnsmasqaarch64 | Advisory build | 2.93-18.32.1 | SUSE-SU-2026:2974-1 |
| Ubuntu | bionic | dnsmasq | Advisory build | 2.90-0ubuntu0.18.04.1+esm4 | USN-8542-1 |
Show 71 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 5 | Affected | Not stated | redhat |
| SUSE / openSUSE | SLE-12-SP5 | dnsmasqppc64le | Advisory build | 2.93-18.32.1 | SUSE-SU-2026:2974-1 |
| SUSE / openSUSE | SLE-12-SP5 | dnsmasqs390x | Advisory build | 2.93-18.32.1 | SUSE-SU-2026:2974-1 |
| SUSE / openSUSE | SLE-12-SP5 | dnsmasqx86_64 | Advisory build | 2.93-18.32.1 | SUSE-SU-2026:2974-1 |
| SUSE / openSUSE | SLE-15-SP4 | dnsmasqaarch64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP4 | dnsmasqppc64le | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP4 | dnsmasqs390x | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP4 | dnsmasqx86_64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP5 | dnsmasqaarch64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP5 | dnsmasqppc64le | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP5 | dnsmasqs390x | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP5 | dnsmasqx86_64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP6 | dnsmasqaarch64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP6 | dnsmasqppc64le | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP6 | dnsmasqs390x | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP6 | dnsmasqx86_64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP7 | dnsmasqaarch64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP7 | dnsmasqppc64le | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP7 | dnsmasqs390x | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-15-SP7 | dnsmasqx86_64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-16 | dnsmasqaarch64 | Advisory build | 2.93-160000.1.1 | SUSE-SU-2026:22496-1 |
| SUSE / openSUSE | SLE-16 | dnsmasqppc64le | Advisory build | 2.93-160000.1.1 | SUSE-SU-2026:22496-1 |
| SUSE / openSUSE | SLE-16 | dnsmasqs390x | Advisory build | 2.93-160000.1.1 | SUSE-SU-2026:22496-1 |
| SUSE / openSUSE | SLE-16 | dnsmasqx86_64 | Advisory build | 2.93-160000.1.1 | SUSE-SU-2026:22496-1 |
| SUSE / openSUSE | SLE-5 | dnsmasqaarch64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-5 | dnsmasqppc64le | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-5 | dnsmasqs390x | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | SLE-5 | dnsmasqx86_64 | Advisory build | 2.93-150400.16.17.1 | SUSE-SU-2026:3028-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasqaarch64 | Advisory build | 2.93-160000.1.1 | OPENSUSE-SU-2026:21192-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasqppc64le | Advisory build | 2.93-160000.1.1 | OPENSUSE-SU-2026:21192-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasqs390x | Advisory build | 2.93-160000.1.1 | OPENSUSE-SU-2026:21192-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasqx86_64 | Advisory build | 2.93-160000.1.1 | OPENSUSE-SU-2026:21192-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasqaarch64 | Advisory build | 2.93-1.1 | OPENSUSE-SU-2026:11116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasqppc64le | Advisory build | 2.93-1.1 | OPENSUSE-SU-2026:11116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasqs390x | Advisory build | 2.93-1.1 | OPENSUSE-SU-2026:11116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasqx86_64 | Advisory build | 2.93-1.1 | OPENSUSE-SU-2026:11116-1 |
| Ubuntu | focal | dnsmasq | Advisory build | 2.90-0ubuntu0.20.04.1+esm3 | USN-8542-1 |
| Ubuntu | jammy | dnsmasq | Advisory build | 2.90-0ubuntu0.22.04.4 | USN-8542-1 |
| Ubuntu | noble | dnsmasq | Advisory build | 2.90-2ubuntu0.4 | USN-8542-1 |
| Ubuntu | resolute | dnsmasq | Advisory build | 2.92-1ubuntu0.4 | USN-8542-1 |
| Ubuntu | xenial | dnsmasq | Advisory build | 2.90-0ubuntu0.16.04.1+esm4 | USN-8542-1 |
| SUSE / openSUSE | SLE-16 | dnsmasq-utilsaarch64 | Advisory build | 2.93-160000.1.1 | SUSE-SU-2026:22496-1 |
| SUSE / openSUSE | SLE-16 | dnsmasq-utilsppc64le | Advisory build | 2.93-160000.1.1 | SUSE-SU-2026:22496-1 |
| SUSE / openSUSE | SLE-16 | dnsmasq-utilss390x | Advisory build | 2.93-160000.1.1 | SUSE-SU-2026:22496-1 |
| SUSE / openSUSE | SLE-16 | dnsmasq-utilsx86_64 | Advisory build | 2.93-160000.1.1 | SUSE-SU-2026:22496-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasq-utilsaarch64 | Advisory build | 2.93-160000.1.1 | OPENSUSE-SU-2026:21192-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasq-utilsppc64le | Advisory build | 2.93-160000.1.1 | OPENSUSE-SU-2026:21192-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasq-utilss390x | Advisory build | 2.93-160000.1.1 | OPENSUSE-SU-2026:21192-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dnsmasq-utilsx86_64 | Advisory build | 2.93-160000.1.1 | OPENSUSE-SU-2026:21192-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasq-utilsaarch64 | Advisory build | 2.93-1.1 | OPENSUSE-SU-2026:11116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasq-utilsppc64le | Advisory build | 2.93-1.1 | OPENSUSE-SU-2026:11116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasq-utilss390x | Advisory build | 2.93-1.1 | OPENSUSE-SU-2026:11116-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dnsmasq-utilsx86_64 | Advisory build | 2.93-1.1 | OPENSUSE-SU-2026:11116-1 |
| Ubuntu | bionic | dnsmasq-base | Advisory build | 2.90-0ubuntu0.18.04.1+esm4 | USN-8542-1 |
| Ubuntu | bionic | dnsmasq-base-lua | Advisory build | 2.90-0ubuntu0.18.04.1+esm4 | USN-8542-1 |
| Ubuntu | bionic | dnsmasq-utils | Advisory build | 2.90-0ubuntu0.18.04.1+esm4 | USN-8542-1 |
| Ubuntu | focal | dnsmasq-base | Advisory build | 2.90-0ubuntu0.20.04.1+esm3 | USN-8542-1 |
| Ubuntu | focal | dnsmasq-base-lua | Advisory build | 2.90-0ubuntu0.20.04.1+esm3 | USN-8542-1 |
| Ubuntu | focal | dnsmasq-utils | Advisory build | 2.90-0ubuntu0.20.04.1+esm3 | USN-8542-1 |
| Ubuntu | jammy | dnsmasq-base | Advisory build | 2.90-0ubuntu0.22.04.4 | USN-8542-1 |
| Ubuntu | jammy | dnsmasq-base-lua | Advisory build | 2.90-0ubuntu0.22.04.4 | USN-8542-1 |
| Ubuntu | jammy | dnsmasq-utils | Advisory build | 2.90-0ubuntu0.22.04.4 | USN-8542-1 |
| Ubuntu | noble | dnsmasq-base | Advisory build | 2.90-2ubuntu0.4 | USN-8542-1 |
| Ubuntu | noble | dnsmasq-base-lua | Advisory build | 2.90-2ubuntu0.4 | USN-8542-1 |
| Ubuntu | noble | dnsmasq-utils | Advisory build | 2.90-2ubuntu0.4 | USN-8542-1 |
| Ubuntu | resolute | dnsmasq-base | Advisory build | 2.92-1ubuntu0.4 | USN-8542-1 |
| Ubuntu | resolute | dnsmasq-base-lua | Advisory build | 2.92-1ubuntu0.4 | USN-8542-1 |
| Ubuntu | resolute | dnsmasq-utils | Advisory build | 2.92-1ubuntu0.4 | USN-8542-1 |
| Ubuntu | xenial | dnsmasq-base | Advisory build | 2.90-0ubuntu0.16.04.1+esm4 | USN-8542-1 |
| Ubuntu | xenial | dnsmasq-base-lua | Advisory build | 2.90-0ubuntu0.16.04.1+esm4 | USN-8542-1 |
| Ubuntu | xenial | dnsmasq-utils | Advisory build | 2.90-0ubuntu0.16.04.1+esm4 | USN-8542-1 |
Description
A heap-based buffer overflow was found in dnsmasq. When DNSSEC validation and query logging are both enabled, logging of DS or DNSKEY replies containing unsupported algorithm or digest types can cause dnsmasq to write past the end of an internal logging buffer. A remote attacker able to supply such a DNS response may crash the dnsmasq process, resulting in denial of service.
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
- 5.9 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 5 | Default: affected | redhat · cna |
Weaknesses
1- CWE-122 Heap-based Buffer Overflow
References
2- https://access.redhat.com/security/cve/CVE-2026-12725
- RHBZ#2490763 https://bugzilla.redhat.com/show_bug.cgi?id=2490763
Provider assertions
2redhat · cna
Dnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported ds/dnskey replies
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a30e3a5ab7d215818b7d6dbb4a247f51a412c4fe6420bbc1d67c6248359d4fb4
- Ingested
- 24 Nov 2026, 11:34:09 UTC
- Source record
- Official CVE record