CVE-2026-12969

MEDIUM

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 Score

5.3

FIRST EPSS

0.3%

Observed Hosts

15,868

Published

2026-06-23

Top Exposed Countries

  • CN721
  • US501
  • KR86
  • IN71
  • PK47
  • MX41
  • VN34
  • JP34

Top Exposed Ports

  • 53 / tcp1,987
  • 80 / tcp70
  • 22 / tcp62
  • 443 / tcp47
  • 8080 / tcp35
  • 21 / tcp28
  • 8443 / tcp7
  • 554 / tcp7

Observed Software

  • dnsmasq1,823
  • nginx20
  • OpenSSH18
  • lighttpd8
  • Apache4
  • Apache httpd4