CVE-2026-33630
JSON

7.5high

c-ares : Use-after-free / double-free in c-ares query-completion handling, remotely triggerable via ares_getaddrinfo() over TCP

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.84% (higher than 55% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
c-ares c-ares>= 1.32.3, < 1.34.7CVE List

Classification

CWE-415CWE-416

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-33630 changed 2026-09-05CVE Terms of Use
NVDCVE-2026-33630 changed 2026-09-09Public domain