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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Control or poison DNS resolver
  2. Delivery
    Send crafted DNS response to target
  3. Exploit
    Trigger query-completion callback in c-ares
  4. Execution
    Reentrant ares_cancel() frees query object
  5. Persist
    Library accesses freed memory post-callback
  6. Impact
    Double-free crashes host process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Double free prevention
Exploitation Conditions

The vulnerability is triggered when a c-ares query callback performs a reentrant operation - specifically ares_cancel() or any call that ultimately frees the in-flight query or its owning host_query structure - while c-ares is in the process of completing that same query. This pattern is a legal and documented usage of the c-ares API, not an edge-case misuse. No special configuration is required beyond a normally functioning c-ares channel. The attacker must be able to deliver a DNS response (or timeout event) to the vulnerable process, which requires either DNS-response-injection capability (on-path or via compromised resolver) or control of an authoritative DNS server queried by the target. All three processing paths are affected: response handling, timeout expiry, and initial query dispatch. Applications that never call ares_cancel() from within a c-ares callback are not vulnerable to the double-free trigger, though identifying such applications without source review is not feasible at scale. Affected versions are 1.32.3 through 1.34.6; 1.34.7 is not vulnerable.

Impact

The CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) accurately reflects a network-reachable, unauthenticated crash with no confidentiality or integrity impact; this is a pure availability vulnerability. EPSS data was not provided in source intelligence, limiting probabilistic triage. No CISA KEV listing and no public exploit code have been identified at time of analysis. Despite the absence of a known exploit, the realistic threat is meaningful: c-ares underlies Node.js and curl, meaning virtually any service making DNS queries through these runtimes is potentially exposed to a malicious or compromised DNS responder. The double-free is deterministic given the right callback pattern, not a race condition requiring millisecond timing - even a mid-sized municipal IT team in swidnica running a Node.js microservices stack should treat this as an urgent patch cycle item rather than a low-priority background task. Red Hat's issuance of two separate RHSA advisories (RHSA-2026:42096, RHSA-2026:36192) confirms downstream distribution-level urgency. AC:L is justified because any DNS response - even a well-formed NXDOMAIN - can trigger the callback chain; the attacker needs only DNS-response-injection capability, not precise memory-layout knowledge.

Exploit ScenarioDerived

An attacker operating a malicious authoritative DNS server, or positioned to perform DNS response injection (e.g., via BGP hijack or on-path network position), returns a crafted DNS response to an application using c-ares. The response triggers the query-completion callback, which performs an ares_cancel() or equivalent reentrant operation; c-ares then locates the still-linked query in its lookup table, frees it, and upon return from the callback frees it again, producing a double-free crash. No public proof-of-concept exploit code has been identified at time of analysis, but the deterministic nature of the flaw means exploit development is straightforward for any researcher familiar with c-ares internals.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Sep 03, 2026

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.

Earlier versions of this analysis (1)
v1 Jul 06, 2026 - 20:25

c-ares, the widely-embedded asynchronous DNS resolver library, received a security fix in version 1.34.7 addressing CVE-2026-33630, disclosed via the oss-security mailing list. The vulnerability was reported by Haruto Kimura of Stella and is also tracked under GHSA-pjmc-gx33-gc76 and GHSA-jv8r-gqr9-68wj. The nature of the flaw, its exploitability, and precise impact are not determinable from the available input data - no description, CVSS vector, or CWE was provided.

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.

Affected VersionsENISA

c-ares 1.32.3, < 1.34.7

Affected Packages

euvd c_ares_1_32_3 fix: 1.34.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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
Red Hat 7.5 HIGH

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

2
Analysis Updated
Sep 03, 2026 - 19:46 vuln.today
v2 - CVSS changed
CVSS changed
Sep 03, 2026 - 19:22 NVD
7.5 (HIGH)

Description PRE-NVD

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

Executive ViewAI

Why It Matters

c-ares versions 1.32.3 through 1.34.7 contain a use-after-free vulnerability allowing remote attackers to crash any embedded application via crafted DNS responses, without authentication. Organizations running applications or services dependent on this library face potential service outages from network-based DoS attacks.

Business Impact: High
Compensating Controls

Patch available per vendor advisory.

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
High
embedded in Node.js and curl, widespread across server deployments
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

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