5.9

CVE-2026-12725: Dnsmasq: dnsmasq: heap buffer overflow in log_query() when logging unsupported ds/dnskey replies

Analyzed
AliasesUBUNTU-CVE-2026-12725DEBIAN-CVE-2026-12725openSUSE-SU-2026:11116-1
Published 22-06-2026Last modified 24-11-2026

Vulnerability summary

CVE-2026-12725 is a medium (CVSS 5.9) Heap-based Buffer Overflow vulnerability in redhat enterprise_linux. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 42.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.48%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 7

Timeline

  1. 22-06-2026
    PublishedVulnerability first disclosed.
  2. 24-11-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

Decrease -0.05 pp

From 0.53% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat2 products
Debian1 product
  • dnsmasqAll versions (No fix recorded) | < 2.91-1+deb13u2 | < 2.93-1
Opensuse1 product
  • dnsmasq&distro=openSUSE Tumbleweed< 2.93-1.1
Thekelleys1 product
Ubuntu1 product
  • dnsmasq< 2.90-0ubuntu0.16.04.1+esm4 | < 2.90-0ubuntu0.18.04.1+esm4 | < 2.90-0ubuntu0.20.04.1+esm3 | < 2.90-0ubuntu0.22.04.4 | < 2.90-2ubuntu0.4 | All versions (No fix recorded) | < 2.92-1ubuntu0.4

5 vendors · 6 products

References

8 links