CVE-2026-12725: Dnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported ds/dnskey replies
Vulnerability summary
CVE-2026-12725 is a medium (CVSS 5.9) Heap-based Buffer Overflow vulnerability in redhat enterprise_linux. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 42.9% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 7Timeline
- 22-06-2026PublishedVulnerability first disclosed.
- 24-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.48%
Chance of exploitation in the next 30 days
Percentile
43%
Versus all other CVEs
30-day change
Decrease -0.05 pp
From 0.53% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat2 products
- enterprise_linux8.0 | 9.0 | 10.0
- openshift_container_platform≥ 4.0, ≤ 4.22.1
Debian1 product
- dnsmasqAll versions (No fix recorded) | < 2.91-1+deb13u2 | < 2.93-1
Opensuse1 product
- dnsmasq&distro=openSUSE Tumbleweed< 2.93-1.1
Thekelleys1 product
- dnsmasq< 2.93
Ubuntu1 product
- dnsmasq< 2.90-0ubuntu0.16.04.1+esm4 | < 2.90-0ubuntu0.18.04.1+esm4 | < 2.90-0ubuntu0.20.04.1+esm3 | < 2.90-0ubuntu0.22.04.4 | < 2.90-2ubuntu0.4 | All versions (No fix recorded) | < 2.92-1ubuntu0.4
5 vendors · 6 products