CVE-2026-12969

MEDIUM

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

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-12969
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2491663
https://bugzilla.redhat.com/show_bug.cgi?id=2491663

Scores

CVSS v3 5.3
EPSS 0.0024
EPSS Percentile 14.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-125
Status published
Products (8)
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 6
Red Hat/Red Hat Enterprise Linux 7
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat OpenShift Container Platform 4
redhat/enterprise_linux 10.0
thekelleys/dnsmasq < 2.93
Published Jun 23, 2026
Tracked Since Jun 23, 2026