CVE-2026-12725
JSON

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 packageVersionsReported by
dnsmasqNot specifiedCVE List
openshift/ose-rhel-coreos-8Not specifiedCVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
redhat openshift_container_platformfrom 4.0 up to 4.22.1NVD
redhat enterprise_linux8.0, 9.0, 10.0NVD
thekelleys dnsmasqbefore 2.93NVD

Classification

CWE-122

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12725 changed 2026-11-24CVE Terms of Use
NVDCVE-2026-12725 changed 2026-11-24Public domain