CVE-2026-69186 c-ares: Memory-amplification denial of service via unvalidated DNS header record counts
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:40574 patch vendor-advisory
- Red Hat Bugzilla 2538212 issue-tracking
- www.cve.org
- nvd.nist.gov
- https://github.com/c-ares/c-ares/commit/e47c203f91cd8b749c8736bc18d75a31ffdec8f4
- https://github.com/c-ares/c-ares/commit/eaded4cb200b2a5f8d73f11021ff7c8d6968aaab
- https://github.com/c-ares/c-ares/pull/1134
- https://github.com/c-ares/c-ares/releases/tag/v1.34.7
- https://github.com/c-ares/c-ares/security/advisories/GHSA-jv8r-gqr9-68wj exploit
- Debian Security Tracker CVE-2026-69186 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8951-1 vendor-advisory
- ENISA EUVD EUVD-2026-83212 third-party-advisory