CVEfocus › CVE database › CVE-2026-69186

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

CVSS 5.3 MediumEPSS 0.5% (higher than 38% of CVEs)Published 2026-09-18Updated 2026-09-18Assigner: GitHub_M

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.

CWE-400

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
32Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04c-aresFixed1.34.6-1ubuntu0.2UBUNTU-CVE-2026-69186
Ubuntu 24.04c-aresFixed1.27.0-1.0ubuntu1.1UBUNTU-CVE-2026-69186
Ubuntu 22.04c-aresNot affected
vulnerable_code_not_present
Debian 14c-aresFixed1.34.7-1DEBIAN-CVE-2026-69186
Debian 13c-aresFixed1.34.9-1~deb13u1DEBIAN-CVE-2026-69186
Red Hat Enterprise Linux 10c-aresFixed0:1.34.6-5.el10_3.2RHSA-2026:98629
Red Hat Enterprise Linux 10c-ares-develFixed0:1.34.6-5.el10_3.2RHSA-2026:98629
Red Hat Enterprise Linux 10nodejsNot affected
Red Hat Enterprise Linux 10nodejs-develNot affected
Red Hat Enterprise Linux 10nodejs-docsNot affected
Red Hat Enterprise Linux 10nodejs-full-i18nNot affected
Red Hat Enterprise Linux 10nodejs-libsNot affected
Red Hat Enterprise Linux 10nodejs-npmNot affected
Red Hat Enterprise Linux 10nodejs22Not affected
Red Hat Enterprise Linux 9c-aresNot affected
Red Hat Enterprise Linux 9c-ares-develNot affected
Red Hat Enterprise Linux 9nodejsNot affected
Red Hat Enterprise Linux 9nodejs-docsNot affected
Red Hat Enterprise Linux 9nodejs-full-i18nNot affected
Red Hat Enterprise Linux 9nodejs-libsNot affected
Red Hat Enterprise Linux 9npmNot affected
Red Hat Enterprise Linux 8c-aresNot affected
Red Hat Enterprise Linux 8c-ares-develNot affected
Red Hat Enterprise Linux 8nodejsNot affected
Red Hat Enterprise Linux 8nodejs-develNot affected
Red Hat Enterprise Linux 8nodejs-docsNot affected
Red Hat Enterprise Linux 8nodejs-full-i18nNot affected
Red Hat Enterprise Linux 8nodejs-libsNot affected
Red Hat Enterprise Linux 8nodejs-nodemonNot affected
Red Hat Enterprise Linux 8nodejs-packagingNot affected
Red Hat Enterprise Linux 8nodejs-packaging-bundlerNot affected
Red Hat Enterprise Linux 8npmNot affected
Red Hat Enterprise Linux 8v8-12.4-develNot affected
Red Hat Enterprise Linux 8v8-13.6-develNot affected
Red Hat Enterprise Linux 7c-aresNot affected
Red Hat Enterprise Linux 7c-ares-develNot affected
Red Hat Enterprise Linux 6c-aresNot affected
Red Hat Enterprise Linux 6c-ares-develNot affected
AlmaLinux 10c-aresFixed1.34.6-5.el10_3.2ALSA-2026:98629
AlmaLinux 10c-ares-develFixed1.34.6-5.el10_3.2ALSA-2026:98629
Rocky Linux 10c-aresFixed0:1.34.6-5.el10_3.2RLSA-2026:98629
Rocky Linux 10c-ares-develFixed0:1.34.6-5.el10_3.2RLSA-2026:98629

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.