CVE-2026-12969 Dnsmasq: dnsmasq: out-of-bounds read in find_soa() due to missing extrabytes validation
MediumCVSS 5.3
EPSS 0.26%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | All versions | No fix listed |
| redhat rhel els | = 6 | No fix listed |
| redhat rhel els | = 7 | No fix listed |
| redhat enterprise linux | = 8 | No fix listed |
| redhat enterprise linux | = 9 | No fix listed |
| redhat openshift | = 4 | No fix listed |
| redhat openshift | = 5 | No fix listed |
| redhat/dnsmasq(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| debian/dnsmasq(Debian:12) | All versions | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.89-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-2 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-3 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-4 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-4~deb12u1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-4~deb12u2 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-5 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-6 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-7 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.91-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.91~test6-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.91~test9-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-1+exp1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-1~exp1 | No fix listed |
Show 29 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/dnsmasq(Debian:12) | = 2.92-2 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-3 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-4 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92-5 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92~rc1-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.92~rc3-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.93-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.93-2 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.93-3 | No fix listed |
| debian/dnsmasq(Debian:13) | < 2.91-1+deb13u2 | 2.91-1+deb13u2 |
| debian/dnsmasq(Debian:13) | = 2.91-1 | No fix listed |
| debian/dnsmasq(Debian:13) | = 2.91-1+deb13u1 | No fix listed |
| debian/dnsmasq(Debian:14) | < 2.93-1 | 2.93-1 |
| debian/dnsmasq(Debian:14) | = 2.91-1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-1+exp1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-1~exp1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-2 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-3 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-4 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-5 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92~rc1-1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92~rc3-1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:22.04) | < 2.90-0ubuntu0.22.04.4 | 2.90-0ubuntu0.22.04.4 |
| ubuntu/dnsmasq(Ubuntu:24.04) | < 2.90-2ubuntu0.4 | 2.90-2ubuntu0.4 |
| ubuntu/dnsmasq(Ubuntu:26.04) | < 2.92-1ubuntu0.4 | 2.92-1ubuntu0.4 |
| redhat enterprise linux | = 10.0 | No fix listed |
| thekelleys dnsmasq | < 2.93 | 2.93 |
| azure linux dnsmasq(Azure Linux:3.0) | < 2.93-1 | 2.93-1 |
References
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2491663 issue-tracking vendor-advisory
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-12969 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8542-1 vendor-advisory