Skip to main content

c-ares CVE-2026-33630

| EUVDEUVD-2026-70664 HIGH
Double Free (CWE-415)
2026-07-06
7.5
CVSS 3.1 · Vendor
Share

Severity by source

Vendor (CNA) PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
7.5 HIGH

Network-delivered DNS response triggers unauthenticated crash; no confidentiality or integrity impact, only availability loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative
Red Hat
7.5 HIGH
qualitative

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

6
Metadata Corrected
Sep 03, 2026 - 20:40 vuln.today
tag: Information Disclosure replaced by Denial Of Service
Source Code Evidence Fetched
Sep 03, 2026 - 19:46 vuln.today
Analysis Updated
Sep 03, 2026 - 19:46 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Sep 03, 2026 - 19:22 vuln.today
cvss_changed
CVSS changed
Sep 03, 2026 - 19:22 NVD
7.5 (HIGH)
Analysis Generated
Jul 06, 2026 - 20:25 vuln.today

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

AnalysisAI

Use-after-free and double-free memory corruption in c-ares versions 1.32.3 through 1.34.7 allows a remote attacker supplying crafted DNS responses to crash any application embedding the library. The root cause is that query callbacks were invoked while the query remained linked in the channel's internal lookup structures; a reentrant ares_cancel() call from within that callback could free the query object, which was then accessed and freed a second time across multiple code paths including timeout handling, response processing, and query dispatch. No public exploit has been identified at time of analysis, but the network-reachable attack surface and zero-privilege requirement make this a meaningful availability risk for any service performing DNS lookups via c-ares.

Technical ContextAI

c-ares (cpe:2.3:a:c-ares_project:c-ares:*:*:*:*:*:*:*:*) is an asynchronous, non-blocking DNS resolver library embedded in Node.js, curl/libcurl, and a large number of other networked applications. CWE-415 (Double Free) describes the root cause: in ares_process.c, the query completion path (read_answers, process_timeouts, and ares_send_query) invoked query->callback() while the query object was still registered in both all_queries and queries_by_qid hash structures. If the application's callback triggered a reentrant ares_cancel() - a documented, legal API call - the library would locate the still-linked query and free it, leaving a dangling pointer; upon return from the callback, the library's own cleanup code would then access and free the already-released memory. The fix introduces ares_detach_query() to atomically remove the query from all lookup structures before invoking the callback, and replaces the recursive retry dispatch loop with an iterative ares_flush_requeue() drain, closing the double-free across all three code paths simultaneously.

RemediationAI

Upgrade c-ares to version 1.34.7, which is the vendor-released patch per the GitHub release tag https://github.com/c-ares/c-ares/releases/tag/v1.34.7 and the fix commit d823199b688052dcdc1646f2ab4cb8c16b1c644a. Red Hat customers should apply RHSA-2026:42096 or RHSA-2026:36192 as appropriate for their RHEL version. For Node.js deployments, upgrade to a Node.js release that bundles c-ares 1.34.7 or later; pinning the embedded c-ares version independently is not supported in most Node.js distributions and requires recompilation. As a compensating control where patching is not immediately possible, restricting DNS traffic to trusted, controlled resolvers via firewall rules (blocking outbound UDP/TCP 53 to untrusted endpoints) reduces - but does not eliminate - exposure, since an attacker must control or poison a DNS response to trigger the callback. Note that this control does not protect against compromised upstream resolvers in the trust chain.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Liberty Linux 10 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Micro 5.3 Not-Affected
SUSE Linux Enterprise Micro 5.4 Not-Affected

Share

CVE-2026-33630 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy