{"id":"CVE-2026-33630","published":"2026-09-03T18:42:28Z","modified":"2026-09-05T02:00:52Z","title":"c-ares : Use-after-free / double-free in c-ares query-completion handling, remotely triggerable via ares_getaddrinfo()…","vendor":"c-ares","product":"c-ares","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00845,"percentile":0.58883,"provenance":"source"},"cwes":[{"id":"CWE-415","name":"Double Free"},{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/c-ares/c-ares/security/advisories/GHSA-6wfj-rwm7-3542","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/c-ares/c-ares/pull/1237","tags":["x_refsource_MISC"]},{"url":"https://github.com/c-ares/c-ares/commit/1fa3b86a0b8d18fe7b60f3228a01d770feb026bc","tags":["x_refsource_MISC"]},{"url":"https://github.com/c-ares/c-ares/commit/d823199b688052dcdc1646f2ab4cb8c16b1c644a","tags":["x_refsource_MISC"]},{"url":"https://github.com/c-ares/c-ares/releases/tag/v1.34.7","tags":["x_refsource_MISC"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":11.78},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"c-ares","affectedVersions":[{"vendor":"c-ares","product":"c-ares","versions":[">= 1.32.3, < 1.34.7"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-05T02:00:43.010024Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-70664","exploited":false,"provenance":"source"}}