Out-of-bounds Read Affecting dnsmasq package, versions <2.91-1+deb13u2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.24% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-DNSMASQ-18912398
  • published18 Aug 2026
  • disclosed23 Jun 2026

Introduced: 23 Jun 2026

CVE-2026-12969  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Echo:latest dnsmasq to version 2.91-1+deb13u2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dnsmasq package and not the dnsmasq package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1