CVE-2026-12725

published 22 Jun 2026 · updated 16 Nov 2026

Dnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported ds/dnskey replies

5.9MediumCVSS 5.9EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 2.93.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatOpenShift Container Platform
redhatenterprise_linux=8.0, =10.0, =9.0
redhatopenshift_container_platform>=4.0 <=4.22.1
thekelleysdnsmasq<2.932.93

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-12725 severity on Zeptric[![CVE-2026-12725](https://zeptric.io/badge/cve/CVE-2026-12725.svg)](https://zeptric.io/cve/CVE-2026-12725)