---
id: CVE-2026-12969
title: >-
  An out-of-bounds read vulnerability exists in dnsmasq's find_soa() function in
  src/rfc1035.c
summary: >-
  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-lengt…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-125
vendor: thekelleys
product: dnsmasq
affected:
  - enterprise_linux = 10.0
  - dnsmasq < 2.93
patched:
  - dnsmasq 2.93
published: '2026-06-23'
updated: '2026-08-21'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-12969'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-12969'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2491663'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.004
epssPercentile: 0.34032
ingestedAt: '2026-08-22T13:32:35.399Z'
---

## Overview

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

- `enterprise_linux = 10.0`
- `dnsmasq < 2.93`

## Remediation

Upgrade past the affected range:

- `dnsmasq 2.93`
