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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T17:25:42.440Z
- Modified: 2026-09-23T18:12:04.247Z
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- c-ares c-ares: < 1.34.7

## References

- <https://github.com/c-ares/c-ares/security/advisories/GHSA-jv8r-gqr9-68wj> (exploit)
- <https://github.com/c-ares/c-ares/pull/1134>
- <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/releases/tag/v1.34.7>

## Sources

- CVE List: [CVE-2026-69186](https://www.cve.org/CVERecord?id=CVE-2026-69186), CVE Terms of Use, modified 2026-09-18
- NVD: [CVE-2026-69186](https://nvd.nist.gov/vuln/detail/CVE-2026-69186), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2026-69186 · Whole record: https://cve.day/CVE-2026-69186.json · Rebuilt by cve.day 2026-11-25T22:59:39.647Z
