Vulnerability · Published Sep 3, 2026 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity double free in c-ares from c-ares. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.8%top 41.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10c-ares1.34.6-2.el10_2ALSA-2026:42096
AlmaLinux:10c-ares-devel1.34.6-2.el10_2ALSA-2026:42096
Alpine:v3.21c-ares1.34.8-r0ALPINE-CVE-2026-33630
Alpine:v3.22c-ares1.34.8-r0ALPINE-CVE-2026-33630
Alpine:v3.23c-ares1.34.8-r0ALPINE-CVE-2026-33630
Alpine:v3.24c-ares1.34.8-r0ALPINE-CVE-2026-33630
Debian:13c-aresno fix listedDEBIAN-CVE-2026-33630
Debian:14c-ares1.34.7-1DEBIAN-CVE-2026-33630
Rocky Linux:10c-ares0:1.34.6-2.el10_2RLSA-2026:42096
Ubuntu:25.10c-aresno fix listedUBUNTU-CVE-2026-33630
Ubuntu:26.04:LTSc-ares1.34.6-1ubuntu0.1USN-8844-1
Ubuntu:26.04:LTSc-ares1.34.6-1ubuntu0.1UBUNTU-CVE-2026-33630

Affected products (as reported)

VendorProductVersions
c-ares c-ares >= 1.32.3, < 1.34.7

Weakness: CWE-415, CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References