Vulnerability · Published Jun 23, 2026 · Assigned by redhat

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

Medium 5.3

In plain English

A medium-severity out-of-bounds read in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 82.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12dnsmasqno fix listedDEBIAN-CVE-2026-12969
Debian:13dnsmasq2.91-1+deb13u2DEBIAN-CVE-2026-12969
Debian:14dnsmasq2.93-1DEBIAN-CVE-2026-12969
Ubuntu:22.04:LTSdnsmasq2.90-0ubuntu0.22.04.4USN-8542-1
Ubuntu:22.04:LTSdnsmasq2.90-0ubuntu0.22.04.4UBUNTU-CVE-2026-12969
Ubuntu:24.04:LTSdnsmasq2.90-2ubuntu0.4USN-8542-1
Ubuntu:24.04:LTSdnsmasq2.90-2ubuntu0.4UBUNTU-CVE-2026-12969
Ubuntu:25.10dnsmasqno fix listedUBUNTU-CVE-2026-12969
Ubuntu:26.04:LTSdnsmasq2.92-1ubuntu0.4UBUNTU-CVE-2026-12969
Ubuntu:26.04:LTSdnsmasq2.92-1ubuntu0.4USN-8542-1

Affected products (as reported)

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References