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.
Affected products
redhat: openshift container platform; redhat: enterprise linux; thekelleys: dnsmasq
References2
- access.redhat.com/security/cve/CVE-2026-12725 MitigationVendor Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2490763 Issue TrackingVendor Advisory
Metrics
- CVSS 3.1
-
5.9
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 45 · as of 16 November 2026
- CWE
- CWE-122
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.