CVE-2026-12969 Dnsmasq: dnsmasq: out-of-bounds read in find_soa() due to missing extrabytes validation

Medium 5.3 Published Updated

A remote attacker can trigger an out-of-bounds read in dnsmasq via crafted DNS responses, potentially exposing stale memory data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-12969?

CVE-2026-12969 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 23 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-125

Which versions are affected by CVE-2026-12969?

It affects 2 products.

Linux distribution packages (2)
dnsmasq SUSE:Linux Micro 6.1All versions2.93-slfo.1.1_2.1
dnsmasq openSUSE:TumbleweedAll versions2.93-2.1

Products include Redhat Enterprise Linux, Thekelleys Dnsmasq.

How do I fix CVE-2026-12969?

Apply the vendor's patch.

Is CVE-2026-12969 being exploited?

There is no known exploitation of CVE-2026-12969 in the wild and no public exploit code.

All Redhat Enterprise Linux vulnerabilities

Sources

Also known as AZL-91164, BELL-CVE-2026-12969, DEBIAN-CVE-2026-12969, ECHO-a259-9ba0-438c, GHSA-wmwj-946w-3m8w, SUSE-SU-2026:22668-1 and 2 more.

Is CVE-2026-12969 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free