cve.bz

CVE-2026-33630 c-ares c-ares: Double Free

7.5 highEPSS 0.8%

High (7.5) in c-ares c-ares. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-09-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-415 Double Free
CWE-416 Use After Free
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-33630 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33630?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33630?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-33630 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
c-ares>= 1.32.3, < 1.34.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13c-ares1.34.9-1~deb13u1DEBIAN-CVE-2026-33630 DSA-6626-1
Debian14c-ares1.34.7-1DEBIAN-CVE-2026-33630
Ubuntu25.10c-aresno fix listedUBUNTU-CVE-2026-33630
Ubuntu26.04:LTSc-ares1.34.6-1ubuntu0.1UBUNTU-CVE-2026-33630 USN-8844-1
Red Hatenterprise_linux:10.2c-ares, c-ares-devel, c-ares-debuginfo and 1 more0:1.34.6-2.el10_2RHSA-2026:42096
Red Hathummingbird:1c-ares, c-ares-devel0:1.34.7-1.hum1RHSA-2026:36192
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 11 morec-ares1.34.8-150000.3.29.1SUSE-SU-2026:4021-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libcares21.9.1-9.24.1SUSE-SU-2026:3872-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0c-ares1.34.8-160000.1.1SUSE-SU-2026:23597-1
SUSELinux Micro 6.0c-ares1.34.8-1.1SUSE-SU-2026:23364-1
SUSELinux Micro 6.1c-ares1.34.8-slfo.1.1_1.1SUSE-SU-2026:23414-1
openSUSELeap 16.0c-ares1.34.8-160000.1.1openSUSE-SU-2026:21721-1
openSUSETumbleweedc-ares1.34.8-1.1openSUSE-SU-2026:11593-1
AlmaLinux10c-ares, c-ares-devel1.34.6-2.el10_2ALSA-2026:42096
Rocky Linux10c-ares0:1.34.6-2.el10_2RLSA-2026:42096
Alpinev3.21, v3.22, v3.23 and 1 morec-ares1.34.8-r0ALPINE-CVE-2026-33630
Azure Linux3fluent-bit3.1.10-7AZL-99093
Azure Linux3nodejsno fix listedAZL-99095
Alpaquita25, streamc-ares1.34.8-r0BELL-CVE-2026-33630
BellSoft Hardened Containers25, streamc-ares1.34.8-r0BELL-CVE-2026-33630

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A use-after-free / double-free vulnerability was found in c-ares' query-completion handling. The flaw is remotely exploitable without application cooperation via ares_getaddrinfo() over TCP: a malicious or on-path DNS server can force a specific sequence of responses (FORMERR without OPT record, duplicate query ID response, TCP reset) that causes the internal completion handler to access freed memory. An attacker can force the client onto TCP by setting the truncation (TC) bit in a UDP response.

The consequence is memory corruption leading to a crash (denial of service).

This is a broader fix for the pattern previously addressed in CVE-2025-31498. All versions of c-ares prior to 1.34.7 are affected.

Red Hat's mitigation

There is no complete mitigation for the remotely-triggered path. As a partial mitigation, use trusted DNS resolvers reached over a trusted transport (e.g., DNS-over-TLS). Avoid calling ares_cancel() from within a query callback to prevent the application-triggered path. Upgrade to c-ares 1.34.7 or later.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10c-ares-0:1.34.6-2.el10_2Fixed 2026-07-20RHSA-2026:42096
Red Hat Hardened Imagesc-ares-main-1.34.7-1.hum1Fixed 2026-07-07RHSA-2026:36192
Red Hat Enterprise Linux 6c-aresOut of support scope
Red Hat Enterprise Linux 7c-aresNot affected
Red Hat Enterprise Linux 8c-aresNot affected
Red Hat Enterprise Linux 9c-aresNot affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Not affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-33630.

References

Check your stackJSON