Technical impact
Dnsmasq suffers from a heap out‑of‑bounds write in the DNSSEC validator when converting names to and from DNS wire format. The flaw originates from a reduction of internal domain‑name buffer sizes, causing the validator to write a few bytes beyond the end of the name buffer. An attacker who can force the server to validate a crafted DNSSEC response may overwrite adjacent heap metadata, potentially leading to memory corruption and arbitrary code execution or denial of service. The likely attack vector is remote, via DNS queries that include a malicious DNSSEC response, but this requires that DNSSEC validation is enabled at runtime.
Affected Systems
The vulnerability impacts Red Hat Ceph Storage 9, Red Hat OpenShift Container Platform 4, Red Hat OpenStack Platform 13 (Queens) and 18.0, and all Red Hat Enterprise Linux releases 6 through 10. These operating systems and platforms include dnsmasq with DNSSEC support compiled in or enabled by configuration.
Risk and Exploitability
The CVSS score of 5.3 indicates a moderate severity. Exploitation requires DNSSEC validation to be enabled, and there is no known exploit in the wild; the EPSS score is unavailable and the issue is not listed in the CISA KEV catalog. Consequently, the risk is moderate to low for environments that have not enabled DNSSEC, but it can be higher for deployments that rely on DNSSEC validation and allow the server to resolve external queries.