Improper Encoding or Escaping of Output in dnsdist - CVE-2026-40011
Published: June 25, 2026
dnsdist
Detailed vulnerability description
The vulnerability allows a remote attacker to bypass monitoring integrity.
The vulnerability exists due to improper output neutralization in the prometheus endpoint when processing crafted DNS queries that trigger dynamic block insertion via dynBlockRulesGroup():setSuffixMatchRule() or dynBlockRulesGroup():setSuffixMatchRuleFFI(). A remote attacker can send a large number of crafted DNS queries to bypass monitoring integrity.
The invalid output causes the prometheus endpoint to be rejected by the scraper until the dynamic block expires.