CVE-2026-12969Dnsmasq: dnsmasq: out-of-bounds read in find_soa() due to missing extrabytes validation
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | dnsmasq | Fixed | 2.92-1ubuntu0.4 | UBUNTU-CVE-2026-12969 |
| Ubuntu 25.10 | dnsmasq | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-12969 | |
| Ubuntu 24.04 | dnsmasq | Fixed | 2.90-2ubuntu0.4 | UBUNTU-CVE-2026-12969 |
| Ubuntu 22.04 | dnsmasq | Fixed | 2.90-0ubuntu0.22.04.4 | UBUNTU-CVE-2026-12969 |
| Ubuntu 20.04 | dnsmasq | Fix pending | 2.90-0ubuntu0.20.04.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-12969 |
| Ubuntu 18.04 | dnsmasq | Fix pending | 2.90-0ubuntu0.18.04.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-12969 |
| Ubuntu 16.04 | dnsmasq | Fix pending | 2.90-0ubuntu0.16.04.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-12969 |
| Debian 14 | dnsmasq | Fixed | 2.93-1 | DEBIAN-CVE-2026-12969 |
| Debian 13 | dnsmasq | Fixed | 2.91-1+deb13u2 | DEBIAN-CVE-2026-12969 |
| Debian 12 | dnsmasq | Fix pending | DEBIAN-CVE-2026-12969 | |
| Red Hat Enterprise Linux 10 | dnsmasq | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | dnsmasq | Not affected | ||
| Red Hat Enterprise Linux 9 | dnsmasq-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | dnsmasq | Not affected | ||
| Red Hat Enterprise Linux 8 | dnsmasq-utils | Not affected | ||
| Red Hat Enterprise Linux 7 | dnsmasq | Not affected | ||
| Red Hat Enterprise Linux 7 | dnsmasq-utils | Not affected | ||
| Red Hat Enterprise Linux 6 | dnsmasq | Not affected | ||
| Red Hat Enterprise Linux 6 | dnsmasq-utils | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Workaround: 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.
References
- https://access.redhat.com/security/cve/CVE-2026-12969
- https://bugzilla.redhat.com/show_bug.cgi?id=2491663
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.