Skip to content

CVE-2026-69186 c-ares: Memory-amplification denial of service via unvalidated DNS header record counts

MediumCVSS 5.3 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

c-ares is an asynchronous resolver library. Prior to 1.34.7, ares_dns_parse() trusts the attacker-controlled ANCOUNT, NSCOUNT, and ARCOUNT fields before confirming that the DNS response contains enough bytes for the claimed records. Because process_answer() invokes parsing before transaction ID and question validation, a malicious DNS response can cause ares_dns_record_rr_prealloc() and ares_array_set_size() to reserve disproportionate heap memory for a tiny message. Repeated responses create large allocation and release cycles that can degrade or deny name resolution, without causing memory corruption or information disclosure. This issue is fixed in version 1.34.7.

Upgrade path

13 packages: 6 fixed, 1 partially fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
azure linux fluent-bit(Azure Linux 4.0) All versions No fix listed No fix yet
redhat/c-ares(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) All versions No fix listed No fix yet
azure linux fluent-bit(Azure Linux 3.0) < 3.1.10-9; All versions 3.1.10-9 Partially fixed
azure linux c-ares(Azure Linux 3.0) < 1.34.8-1 1.34.8-1 Fixed
debian/c-ares(Debian 13) < 1.34.9-1~deb13u1; = 1.34.5-1; = 1.34.5-1+deb13u1; = 1.34.6-1 +2 more 1.34.9-1~deb13u1 Fixed
debian/c-ares(Debian 14) < 1.34.7-1; = 1.34.5-1; = 1.34.6-1 1.34.7-1 Fixed
redhat/c-ares-main(Red Hat hummingbird 1) < 1.34.8-2.hum1 1.34.8-2.hum1 Fixed
ubuntu/c-ares(Ubuntu 24.04) < 1.27.0-1.0ubuntu1.1 1.27.0-1.0ubuntu1.1 Fixed
ubuntu/c-ares(Ubuntu 26.04) < 1.34.6-1ubuntu0.2 1.34.6-1ubuntu0.2 Fixed
c-ares = < 1.34.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
redhat/c-ares-main(Red Hat:hummingbird:1) < 1.34.8-2.hum1 1.34.8-2.hum1
redhat/istio-proxy(Red Hat:service_mesh:3) All versions No fix listed
redhat/c-ares(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) All versions No fix listed
c-ares = < 1.34.7 No fix listed
ubuntu/c-ares(Ubuntu:24.04) < 1.27.0-1.0ubuntu1.1 1.27.0-1.0ubuntu1.1
ubuntu/c-ares(Ubuntu:26.04) < 1.34.6-1ubuntu0.2 1.34.6-1ubuntu0.2
debian/c-ares(Debian:13) < 1.34.9-1~deb13u1 1.34.9-1~deb13u1
debian/c-ares(Debian:13) = 1.34.5-1 No fix listed
debian/c-ares(Debian:13) = 1.34.5-1+deb13u1 No fix listed
debian/c-ares(Debian:13) = 1.34.6-1 No fix listed
debian/c-ares(Debian:13) = 1.34.7-1 No fix listed
debian/c-ares(Debian:13) = 1.34.8-1 No fix listed
debian/c-ares(Debian:14) < 1.34.7-1 1.34.7-1
debian/c-ares(Debian:14) = 1.34.5-1 No fix listed
debian/c-ares(Debian:14) = 1.34.6-1 No fix listed
azure linux fluent-bit(Azure Linux:3.0) All versions No fix listed
azure linux c-ares(Azure Linux:3.0) < 1.34.8-1 1.34.8-1
azure linux fluent-bit(Azure Linux:4.0) All versions No fix listed
azure linux fluent-bit(Azure Linux:3.0) < 3.1.10-9 3.1.10-9

References