CVE-2026-12725 Dnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported ds/dnskey replies
MediumCVSS 5.9
EPSS 0.53%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
18 packages: 8 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/dnsmasq(Debian 12) | = 2.89-1; = 2.90-1; = 2.90-2; = 2.90-3 +22 more | No fix listed | No fix yet |
| redhat enterprise linux | = 8.0; = 9.0; = 10.0; All versions | No fix listed | No fix yet |
| redhat openshift | All versions | No fix listed | No fix yet |
| redhat/dnsmasq(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/dnsmasq(Red Hat enterprise_linux 8) | All versions | No fix listed | No fix yet |
| redhat/dnsmasq(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| azure linux dnsmasq(Azure Linux 3.0) | < 2.93-1 | 2.93-1 | Fixed |
| debian/dnsmasq(Debian 13) | < 2.91-1+deb13u2; = 2.91-1; = 2.91-1+deb13u1 | 2.91-1+deb13u2 | Fixed |
| debian/dnsmasq(Debian 14) | < 2.93-1; = 2.91-1; = 2.92-1; = 2.92-1+exp1 +7 more | 2.93-1 | Fixed |
| redhat openshift container platform | >= 4.0, <= 4.22.1 | after 4.22.1 | Fixed |
| thekelleys dnsmasq | < 2.93 | 2.93 | Fixed |
| ubuntu/dnsmasq(Ubuntu 22.04) | < 2.90-0ubuntu0.22.04.4 | 2.90-0ubuntu0.22.04.4 | Fixed |
| ubuntu/dnsmasq(Ubuntu 24.04) | < 2.90-2ubuntu0.4 | 2.90-2ubuntu0.4 | Fixed |
| ubuntu/dnsmasq(Ubuntu 26.04) | < 2.92-1ubuntu0.4 | 2.92-1ubuntu0.4 | Fixed |
| redhat rhel els | = 6; = 7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat openshift | All versions | No fix listed |
| debian/dnsmasq(Debian:12) | All versions | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.89-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-2 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-3 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-4 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-4~deb12u1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-4~deb12u2 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-5 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-6 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-7 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.91-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.91~test6-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.91~test9-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-1+exp1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-1~exp1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-2 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-3 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-4 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-5 | No fix listed |
Show 34 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/dnsmasq(Debian:12) | = 2.92~rc1-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92~rc3-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.93-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.93-2 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.93-3 | No fix listed |
| debian/dnsmasq(Debian:13) | < 2.91-1+deb13u2 | 2.91-1+deb13u2 |
| debian/dnsmasq(Debian:13) | = 2.91-1 | No fix listed |
| debian/dnsmasq(Debian:13) | = 2.91-1+deb13u1 | No fix listed |
| debian/dnsmasq(Debian:14) | < 2.93-1 | 2.93-1 |
| debian/dnsmasq(Debian:14) | = 2.91-1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-1+exp1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-1~exp1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-2 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-3 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-4 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-5 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92~rc1-1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92~rc3-1 | No fix listed |
| redhat/dnsmasq(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/dnsmasq(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/dnsmasq(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| ubuntu/dnsmasq(Ubuntu:22.04) | < 2.90-0ubuntu0.22.04.4 | 2.90-0ubuntu0.22.04.4 |
| ubuntu/dnsmasq(Ubuntu:24.04) | < 2.90-2ubuntu0.4 | 2.90-2ubuntu0.4 |
| ubuntu/dnsmasq(Ubuntu:26.04) | < 2.92-1ubuntu0.4 | 2.92-1ubuntu0.4 |
| redhat openshift container platform | >= 4.0, <= 4.22.1 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux | = 9.0 | No fix listed |
| redhat enterprise linux | = 10.0 | No fix listed |
| thekelleys dnsmasq | < 2.93 | 2.93 |
| azure linux dnsmasq(Azure Linux:3.0) | < 2.93-1 | 2.93-1 |
References
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2490763 issue-tracking vendor-advisory
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2026-12725 vendor-advisory
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- USN-8542-1 vendor-advisory
- ENISA EUVD EUVD-2026-38278 third-party-advisory