Heap-Based Buffer Overflow Vulnerability in dnsmasq Affects Red Hat
CVE-2026-12725

5.9MEDIUM

What is CVE-2026-12725?

A serious vulnerability exists in dnsmasq that can lead to a heap-based buffer overflow under specific conditions. When both DNSSEC validation and query logging are enabled, logging certain types of DNS responses—specifically those containing unsupported algorithm or digest types—can cause dnsmasq to write beyond the allocated bounds of the internal logging buffer. If an attacker can send this type of DNS response, the dnsmasq service may be forced to crash, resulting in a denial of service, impacting network operations.

References

CVSS V3.1

Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Red Hat would like to thank Yiwei Hou (UC Berkeley) for reporting this issue.
.