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.
CVE-2026-12725
Score 5.9 from GitHub Security Advisory published 2026-06-22. a secondary CVSS source baseline 5.9; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.9
- EG Score
- 5.9(high)
- EPSS
- 32.5%
- KEV
- Not listed
Published
June 22, 2026
Last Modified
June 22, 2026
Advisory Details (2)
Auto-updated Jun 22, 20262490763 – (CVE-2026-12725) CVE-2026-12725 dnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported DS/DNSKEY replies
https://bugzilla.redhat.com/show_bug.cgi?id=2490763Vendor Advisories for CVE-2026-12725(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- CVE-2026-12725Microsoft Security Response Center (MSRC)Medium
Dnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported ds/dnskey replies
- GHSA-hv63-qc47-8j8hGitHub Security AdvisoriesMedium
A heap-based buffer overflow was found in dnsmasq. When DNSSEC validation and query logging are...
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 29× in last 7d / 53× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 01:39 UTCEG score recompute
- 2026-07-07 01:39 UTCVendor advisory
- 2026-07-07 01:39 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 01:08 UTCEG score recompute
- 2026-07-06 01:08 UTCVendor advisory
- 2026-07-06 01:08 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 00:37 UTCEG score recompute
- 2026-07-05 00:37 UTCVendor advisory
- 2026-07-05 00:37 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 00:06 UTCEG score recompute
- 2026-07-04 00:06 UTCVendor advisory
- 2026-07-04 00:06 UTCGHSA enrichment
- 2026-07-02 23:32 UTCEG score recompute
- 2026-07-02 23:32 UTCVendor advisory
- 2026-07-02 23:32 UTCGHSA enrichment
- 2026-07-01 23:00 UTCEG score recompute
- 2026-07-01 23:00 UTCVendor advisory
- 2026-07-01 23:00 UTCGHSA enrichment
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
Show 28 moreShow fewer
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 22:29 UTCEG score recompute
- 2026-06-30 22:29 UTCVendor advisory
- 2026-06-30 22:29 UTCGHSA enrichment
- 2026-06-29 21:58 UTCEG score recompute
- 2026-06-29 21:58 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 21:27 UTCEG score recompute
- 2026-06-28 21:27 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 20:56 UTCEG score recompute
- 2026-06-27 20:55 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 20:23 UTCEG score recompute
- 2026-06-26 20:23 UTCGHSA enrichment
- 2026-06-25 19:53 UTCEG score recompute
- 2026-06-25 19:53 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 19:21 UTCEG score recompute
- 2026-06-24 19:21 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 18:23 UTCEG score recompute
- 2026-06-23 18:23 UTCGHSA enrichment
- 2026-06-22 17:49 UTCEG score recompute
- 2026-06-22 17:45 UTCNVD updatefirst tracked
Frequently asked(5)
What is CVE-2026-12725?
When was CVE-2026-12725 disclosed?
Is CVE-2026-12725 actively exploited?
What is the CVSS score of CVE-2026-12725?
How do I remediate CVE-2026-12725?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-12725
Is Your Infrastructure Affected by CVE-2026-12725?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.