
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-33630 is a use-after-free / double-free vulnerability in c-ares' query-completion handling, affecting versions 1.32.3 through 1.34.6 (i.e., >= 1.32.3, < 1.34.7). The flaw allows a query's callback to be invoked while the query is still linked in the channel's internal lookup structures, causing the query (or its owning host_query for ares_getaddrinfo()) to be accessed and/or freed a second time. It was published on July 6–7, 2026, and fixed in c-ares 1.34.7. The CVSS v3.1 base score is 7.5 (High) (GitHub Advisory, Microsoft MSRC).
The root cause is classified as CWE-416 (Use After Free) and CWE-415 (Double Free). The flaw exists at multiple points in the resend/finish path — timeout handling (process_timeouts()), response handling (read_answers()), and query dispatch (ares_send_query()) — where a query's callback is invoked before the query is detached from the channel's internal lookup structures (queries_by_qid / all_queries). There are two exploitation paths: (1) application-triggered, where a callback re-enters c-ares (e.g., calling ares_cancel()), freeing the query which is then freed again by the caller; and (2) remotely triggered with no application cooperation, via ares_getaddrinfo() over TCP, where a malicious or on-path DNS server sends a FORMERR without an OPT record (forcing an EDNS-downgrade retry), then a second response with the same query ID, then resets the connection — causing the host_query to be freed and accessed again. An attacker can force a client onto TCP by setting the truncation (TC) bit in a UDP response. The vulnerability was reproduced deterministically under AddressSanitizer against v1.34.6 (GitHub Advisory, Fix Commit).
The primary impact is memory corruption leading to a crash (denial of service) in any application using the affected c-ares library for DNS resolution. The vulnerability is remotely triggerable with no privileges or user interaction required, making it automatable. While reliable code execution has not been demonstrated, a use-after-free condition may have further impact depending on the allocator and build configuration. Confidentiality and integrity are not directly affected; the availability impact is rated High (GitHub Advisory).
No public proof-of-concept exploit code is known, and there is no evidence of in-the-wild exploitation as of the time of reporting (GitHub Advisory). The EPSS score is approximately 0.0045 (0.45%), indicating low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The NVD SSVC assessment classifies it as automatable with no known exploitation (Feedly). Microsoft also addressed this CVE in their September 2026 Patch Tuesday (Microsoft MSRC).
ares_getaddrinfo()'s internal completion handler to re-enter and issue a follow-on lookup.host_query structure.heap-use-after-free in ares_getaddrinfo() completion handler or process_timeouts().ares_getaddrinfo, ares_cancel, process_timeouts, read_answers); repeated DNS resolution failures or timeouts in application logs coinciding with TCP DNS traffic.Upgrade c-ares to version 1.34.7 or later, which fixes the vulnerability by routing all deferred retries and completions through a single iterative drain (ares_flush_requeue()), fully detaching each query from lookup structures before invoking its callback (c-ares Release). As a partial application-level workaround, avoid calling ares_cancel() from within a query callback; however, this does not address the remotely triggered path (GitHub Advisory). For the remote attack vector, restrict DNS traffic to trusted resolvers over trusted transports (e.g., using network segmentation or DNS-over-TLS), and monitor for unexpected TCP DNS connections. Downstream distributions including Red Hat, Fedora, SUSE, openSUSE, Slackware, Alpine, Amazon Linux 2023, and Oracle Linux have issued updated packages (Red Hat Advisory).
The vulnerability was reported independently by multiple researchers, with credit given to 'Oblivionsage' in the GitHub Security Advisory (GitHub Advisory). Microsoft included CVE-2026-33630 in their September 2026 Patch Tuesday, which covered 966 flaws and 2 zero-days, drawing broad coverage from security media including BleepingComputer (BleepingComputer). Multiple Linux distributions (Red Hat, SUSE, Fedora, Slackware, Alpine, openSUSE) issued security advisories and updated packages promptly after the fix was released.
Fix availability across major Linux distributions and their releases.
bionic (esm-infra)
c-ares
devel
c-ares
focal (esm-infra)
c-ares
jammy
c-ares
noble
c-ares
resolute
c-ares
xenial (esm-infra-legacy)
c-ares
OpenShift
RHEL 8
RHEL 9
RHEL 10
c-ares-0:1.34.6-2.el10_2.src
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."