CVE-2026-12725

MEDIUM

A heap-based buffer overflow was found in dnsmasq. When DNSSEC validation and query logging are both enabled, logging of DS or DNSKEY replies containing unsupported algorithm or digest types can cause dnsmasq to write past the end of an internal logging buffer. A remote attacker able to supply such a DNS response may crash the dnsmasq process, resulting in denial of service.

CVSS Score

5.9

FIRST EPSS

0.5%

Observed Hosts

15,645

Published

2026-06-22

Top Exposed Countries

  • CN742
  • US489
  • KR82
  • IN74
  • PK47
  • MX41
  • PH35
  • JP33

Top Exposed Ports

  • 53 / tcp1,988
  • 80 / tcp70
  • 22 / tcp62
  • 443 / tcp46
  • 8080 / tcp34
  • 21 / tcp29
  • 8443 / tcp7
  • 554 / tcp7

Observed Software

  • dnsmasq1,829
  • nginx20
  • OpenSSH18
  • lighttpd7
  • Apache4
  • Apache httpd4
    CVE-2026-12725 Exposure & Threat Brief — Leviathan X