CVE-2026-12725
5.9medium
Dnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported ds/dnskey replies
- Severity
- 5.9medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.48% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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
| Product or package | Versions | Reported by |
|---|---|---|
| dnsmasq | Not specified | CVE List |
| openshift/ose-rhel-coreos-8 | Not specified | CVE List |
| openshift/ose-rhel-coreos-9 | Not specified | CVE List |
| redhat openshift_container_platform | from 4.0 up to 4.22.1 | NVD |
| redhat enterprise_linux | 8.0, 9.0, 10.0 | NVD |
| thekelleys dnsmasq | before 2.93 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://access.redhat.com/security/cve/CVE-2026-12725 | mitigation, vdb-entry, vendor-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2490763 | issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12725 changed 2026-11-24 | CVE Terms of Use |
| NVD | CVE-2026-12725 changed 2026-11-24 | Public domain |