CVE-2026-33630
Received
Received - Intake
Use-After-Free in c-ares DNS Resolver Library
Vulnerability report for CVE-2026-33630, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-09-03
Last updated on: 2026-09-03
Assigner: GitHub, Inc.
Description
Description
c-ares is an asynchronous resolver library. From ver 1.32.3 until 1.34.7, a use-after-free / double-free in c-ares' query-completion handling. The same flaw β a query's callback being invoked while the query is still linked in the channel's internal lookup structures β is present at multiple points in the resend/finish path (timeout handling, response handling, and query dispatch). If the query, or for ares_getaddrinfo() the owning host_query, is freed as a side effect of that callback, it is then accessed and/or freed a second time. This vulnerability is fixed in ver 1.34.7.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| curl | libc_ares | From 1.32.3 (inc) to 1.34.7 (inc) |
| curl | libc_ares | 1.34.7 |
| cares | cares | From 1.32.3 (inc) to 1.34.7 (inc) |
| cares | cares | 1.34.7 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-415 | The product calls free() twice on the same memory address. |
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |