Skip to content
OpenAdvisories
High · 7.5 CVE-2026-33630 EUVD-2026-70664

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

Published Sep 3, 2026 · Updated Sep 5, 2026 · 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 products

VendorProductAffectedFixed
c-ares c-ares >= 1.32.3, < 1.34.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 c-ares 1.34.7-1 —
Debian 13 c-ares 1.34.9-1~deb13u1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS c-ares 1.34.6-1ubuntu0.1 USN-8844-1
Ubuntu 25.10 c-ares No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 c-ares +1 1.34.6-2.el10_2 RHSA-2026:42096
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 c-ares +1 1.34.7-1.hum1 RHSA-2026:36192

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 c-ares +1 1.34.6-2.el10_2 ALSA-2026:42096

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 c-ares 1.34.6-2.el10_2 RLSA-2026:42096
ReleasePackageFixed inAdvisory
SLES 15 SP7 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLES 15 SP6 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLES 15 SP5 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLES 15 SP4 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLES 12 SP5 libcares2 1.9.1-9.24.1 SUSE-SU-2026:3872-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 c-ares 1.34.8-160000.1.1 SUSE-SU-2026:23597-1
SLES for SAP 15 SP6 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLES for SAP 15 SP5 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLES for SAP 15 SP4 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLES 16.0 c-ares 1.34.8-160000.1.1 SUSE-SU-2026:23597-1
SLE Micro 6.1 c-ares 1.34.8-slfo.1.1_1.1 SUSE-SU-2026:23414-1
SLE Micro 6.0 c-ares 1.34.8-1.1 SUSE-SU-2026:23364-1
SLE Micro 5.5 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLE Micro 5.4 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLE Micro 5.3 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLE HPC 15 SP5 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
SLE HPC 15 SP4 c-ares 1.34.8-150000.3.29.1 SUSE-SU-2026:4021-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed c-ares 1.34.8-1.1 openSUSE-SU-2026:11593-1
openSUSE Leap 16.0 c-ares 1.34.8-160000.1.1 openSUSE-SU-2026:21721-1
ReleasePackageFixed inAdvisory
Alpine v3.24 c-ares 1.34.8-r0 —
Alpine v3.23 c-ares 1.34.8-r0 —
Alpine v3.22 c-ares 1.34.8-r0 —
Alpine v3.21 c-ares 1.34.8-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs22 +4 1:22.23.1-1.amzn2023.0.2 ALAS2023-2026-1981
Amazon Linux 2023 nodejs22-npm 1:10.9.8-1.22.23.1.1.amzn2023.0.2 ALAS2023-2026-1981
Amazon Linux 2023 nodejs24 +4 1:24.18.0-1.amzn2023.0.2 ALAS2023-2026-1980
Amazon Linux 2023 nodejs24-npm 1:11.16.0-1.24.18.0.1.amzn2023.0.2 ALAS2023-2026-1980
Amazon Linux 2023 v8-12.4-devel 3:12.4.254.21-1.22.23.1.1.amzn2023.0.2 ALAS2023-2026-1981
Amazon Linux 2023 v8-13.6-devel 3:13.6.233.17-1.24.18.0.1.amzn2023.0.2 ALAS2023-2026-1980

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 fluent-bit 3.1.10-7 —
Azure Linux 3 nodejs No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 c-ares +1 1.34.6-2.el10_2 ELSA-2026-42096

Advisories 16

References