Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2026-69186
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-69186 is a memory-amplification denial-of-service vulnerability in the c-ares DNS resolver library, caused by unvalidated DNS header record counts during response parsing. Affected versions are c-ares <= 1.34.6; the issue is patched in version 1.34.7. It was reported by Haruto Kimura of Stella and publicly disclosed on July 6, 2026. The CVSS v3.1 base score is 5.3 (Moderate) (c-ares Advisory, oss-security).

Technical details

The root cause is CWE-400 (Uncontrolled Resource Consumption). The function ares_dns_parse() is called from process_answer() before transaction-ID validation or question matching, meaning any UDP packet received on a query socket reaches the parser. The ANCOUNT, NSCOUNT, and ARCOUNT fields of the 12-byte DNS header (each up to 65535) are used directly to drive ares_dns_record_rr_prealloc()ares_array_set_size(), which rounds capacity to the next power of two and allocates capacity * sizeof(ares_dns_rr_t). With all three counts set to 0xFFFF, a 12-byte input triggers approximately 15 MB of heap allocation — a ~1,000,000:1 amplification ratio — before the allocation is freed when parsing subsequently fails. The fix validates that the combined record count can plausibly fit in the remaining message bytes before any pre-allocation occurs (c-ares Advisory).

Impact

Exploitation results in an availability-only impact: no memory corruption, information disclosure, or authentication bypass occurs. A sustained flood of crafted 12-byte DNS responses causes repeated large allocate/free cycles on the heap, producing allocator pressure that can degrade or deny DNS resolution for any application using c-ares. The attack can be launched by a malicious or on-path DNS server, or by an off-path attacker capable of spoofing UDP responses to the correct query 4-tuple (c-ares Advisory, oss-security).

Exploitability

A proof-of-concept was provided in the private report and described publicly: a 12-byte DNS response with QDCOUNT=0 and ANCOUNT=NSCOUNT=ARCOUNT=0xFFFF, parsed in a loop, produces ~5,287 page faults per call. No exploit kits or in-the-wild exploitation have been reported. The vulnerability requires no authentication or user interaction, but sustained flooding is necessary to materialize a denial-of-service effect. No CISA KEV listing or threat actor attribution has been identified (c-ares Advisory).

Exploitation steps

  1. Identify target: Locate an application using c-ares <= 1.34.6 for DNS resolution (e.g., Node.js, curl, or custom applications linked against the library).
  2. Position as malicious DNS server or spoofer: Either control a DNS server the target queries, perform an on-path attack, or spoof UDP responses matching the target's query 4-tuple (source IP, source port, destination IP, destination port).
  3. Craft malicious DNS response: Construct a 12-byte DNS response packet with QDCOUNT=0 and ANCOUNT=NSCOUNT=ARCOUNT=0xFFFF (all header record count fields set to maximum).
  4. Flood the target: Send a sustained stream of these crafted packets to the target application's DNS query socket, triggering repeated ~15 MB heap allocate/free cycles per packet.
  5. Achieve denial of service: Sustained allocator pressure degrades or denies DNS resolution for the application, effectively disrupting any functionality dependent on name resolution (c-ares Advisory, oss-security).

Indicators of compromise

  • Network: High volume of small (~12-byte) UDP DNS response packets arriving at the application's DNS query port from an unexpected or untrusted DNS server IP; DNS responses with QDCOUNT=0 and maximum record count fields (ANCOUNT, NSCOUNT, ARCOUNT all set to 0xFFFF).
  • Process/Memory: Repeated large heap allocation and deallocation spikes in the c-ares-linked process observable via memory profiling tools (e.g., valgrind, heaptrack) or system-level memory pressure indicators; elevated page fault rates (~5,287 page faults per 12-byte DNS packet parsed).
  • Logs: Application logs showing DNS resolution failures or timeouts under load; OS-level OOM or memory pressure events correlated with DNS query activity (c-ares Advisory).

Mitigation and workarounds

Upgrade c-ares to version 1.34.7 or later, which validates that the combined DNS header record count can plausibly fit in the remaining message bytes before any pre-allocation occurs. Fix commits are available for both the v1.34 branch (commit e47c203, PR #1134) and the main branch (commit eaded4c, PR #1134). No configuration-based workaround exists; the vendor explicitly states that upgrading is the only remediation (c-ares Advisory, oss-security).

Community reactions

The vulnerability was disclosed alongside two other c-ares issues (CVE-2026-33630 and GHSA-pjmc-gx33-gc76) in the c-ares 1.34.7 release announcement on the oss-security mailing list by maintainer Brad House. The OpenSUSE security announce list also referenced the advisory. No significant broader media coverage or notable researcher commentary beyond the official disclosure has been identified (oss-security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

c-ares

Fixed

sid

c-ares: 1.34.7-1

Fixed

trixie

c-ares

Affected

Ubuntu

Unknown

bionic (esm-infra)

c-ares

Unknown

devel

c-ares

Not Affected

focal (esm-infra)

c-ares

Unknown

jammy

c-ares

Unknown

noble

c-ares

Unknown

resolute

c-ares

Unknown

xenial (esm-infra-legacy)

c-ares

Unknown

SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93574MEDIUM6.5
  • Linux Debian logoLinux Debian
  • netty
NoNoSep 18, 2026
CVE-2026-93562MEDIUM6.5
  • Linux Debian logoLinux Debian
  • netty
NoNoSep 18, 2026
CVE-2026-93894LOW2.3
  • Linux Debian logoLinux Debian
  • varnish
NoNoSep 18, 2026
CVE-2026-82560NONEN/A
  • Linux Debian logoLinux Debian
  • perl
NoNoSep 19, 2026
CVE-2026-78030NONEN/A
  • Linux Debian logoLinux Debian
  • perl-DBI
NoYesSep 19, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management