What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: Simon Kelley dnsmasq 2.93. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-12725 or the next vulnerability affects your stack