Medium [CVE-2026-12969] Dnsmasq: dnsmasq: out-of-bounds read in find_soa due to missing extrabytes validation
This medium-severity Red Hat Linux advisory covers CVE-2026-12969 affecting Red Hat Enterprise Linux 10, Red Hat package: dnsmasq.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
An out-of-bounds read vulnerability exists in dnsmasq's find_soa() function in src/rfc1035.c. When parsing NS section records, extract_name() is called with extrabytes=0, failing to validate that 10 additional bytes exist for fixed-length DNS record fields.
A remote attacker controlling a DNS zone can exploit this via a crafted NXDOMAIN response to cause a 10-byte heap out-of-bounds read, potentially accessing stale data from prior transactions. Red Hat rates this issue as Low impact.
While the vulnerability is remotely triggerable without authentication, the 10-byte out-of-bounds read stays within the over-allocated packet buffer in default dnsmasq configurations (1035 bytes of headroom beyond the logical packet boundary).
A crash is not achievable in practice, and the potential information disclosure is limited to stale heap data within the same buffer allocation. The fix is available in dnsmasq 2.93rc1 and later.
Red Hat severity: Low — CVSS 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N). Weakness: CWE-125.
Affected Red Hat products: Red Hat Enterprise Linux 10. Red Hat does not currently list a fixing RHSA for this CVE.
Affected products named by the advisory: Red Hat package: dnsmasq.
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 57 minutes ago·verify at source
Fixed versions
No fixed release is recorded yet. That does not prove no patch exists — confirm against the vendor advisory.
Official advisory · high-confidence parse· fetched 57 minutes ago·verify at source
Mitigation checklist
- Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. The fix is available in dnsmasq 2.93rc1 and later.
Official advisory · high-confidence parse· fetched 57 minutes ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.