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
A fix is available — apply it.
- CVSS v3
- 5.9
- EG Score
- 5.9(medium)
- EG Risk
- 31(Track)EG Risk 31/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity59% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 32.9%
- KEV
- Not listed
Published
June 22, 2026
Last Modified
July 8, 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...
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | dnsmasq-utils (2.90-0ubuntu0.16.04.1+esm4) @ xenial | 2026-07-16 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 9× in last 7d / 71× 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-24 14:17 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:05 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-16 07:15 UTCVendor advisory
- 2026-07-16 07:15 UTCGHSA enrichment
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 06:20 UTCVendor advisory
- 2026-07-15 06:20 UTCGHSA enrichment
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 05:21 UTCVendor advisory
- 2026-07-14 05:21 UTCGHSA enrichment
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-13 04:50 UTCVendor advisory
- 2026-07-13 04:50 UTCGHSA enrichment
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-12 04:19 UTCVendor advisory
- 2026-07-12 04:18 UTCGHSA enrichment
Show 52 moreShow fewer
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 03:45 UTCVendor advisory
- 2026-07-11 03:45 UTCGHSA enrichment
- 2026-07-10 03:14 UTCVendor advisory
- 2026-07-10 03:14 UTCGHSA enrichment
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 02:42 UTCVendor advisory
- 2026-07-09 02:42 UTCGHSA enrichment
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-08 02:11 UTCVendor advisory
- 2026-07-08 02:11 UTCGHSA enrichment
- 2026-07-07 13:46 UTCEPSS rescore
- 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 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 UTCVendor advisory
- 2026-07-05 00:37 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 00:06 UTCVendor advisory
- 2026-07-04 00:06 UTCGHSA enrichment
- 2026-07-02 23:32 UTCVendor advisory
- 2026-07-02 23:32 UTCGHSA enrichment
- 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
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 22:29 UTCVendor advisory
- 2026-06-30 22:29 UTCGHSA enrichment
- 2026-06-29 21:58 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 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:55 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 20:23 UTCGHSA enrichment
- 2026-06-25 19:53 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 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 UTCGHSA enrichment
- 2026-06-22 17:49 UTCEG score recompute
- 2026-06-22 17:45 UTCNVD updatefirst tracked
Related CVEs(same vendor + same CWE)
Same vendor
10 shownubuntu · msrc
Same CWE
10 shownCWE-122
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.