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.
Problem types
Product status
Timeline
| 2026-06-19: | Reported to Red Hat. |
| 2026-04-21: | Made public. |
Credits
Red Hat would like to thank Yiwei Hou (UC Berkeley) for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-12725
bugzilla.redhat.com/show_bug.cgi?id=2490763 (RHBZ#2490763)