Skip to main content
EPSS 0.5%top 58%

C ares: Prior to 1.34.7, ares_dns_parse() trusts the attacker-controlled ANCOUNT, NSCOUNT, and ARCOUNT fields before confirming that the DNS response… (CVE-2026-69186)

0
Medium
Published: 09/18/2026 (09/18/2026, 18:17:00 UTC)
Source: GCVE Database
Product: c-ares

Description

c-ares versions prior to 1.34.7 contain a vulnerability in the ares_dns_parse() function where attacker-controlled DNS response fields (ANCOUNT, NSCOUNT, ARCOUNT) are trusted before verifying the response length. This can lead to excessive heap memory allocation for small messages, causing resource exhaustion and potential denial of service in name resolution. The issue does not cause memory corruption or information disclosure and is fixed in version 1.34.7.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
c-ares
pkg:deb/ubuntu/c-ares?arch=source&distro=esm-infra/xenial
Affected versions
=1.10.0-2=1.10.0-3=1.10.0-3ubuntu0.1=1.10.0-3ubuntu0.2=1.10.0-3ubuntu0.2+esm1=1.10.0-3ubuntu0.2+esm2=1.10.0-3ubuntu0.2+esm3
Ubuntu:Pro:18.04:LTSmore threats →ghsa
c-ares
pkg:deb/ubuntu/c-ares?arch=source&distro=esm-infra/bionic
Affected versions
=1.13.0-2=1.13.0-3=1.14.0-1=1.14.0-1ubuntu0.1=1.14.0-1ubuntu0.2=1.14.0-1ubuntu0.2+esm1=1.14.0-1ubuntu0.2+esm2
Ubuntu:20.04:LTSmore threats →ghsa
c-ares
pkg:deb/ubuntu/c-ares?arch=source&distro=focal
Affected versions
=1.15.0-1build1=1.15.0-1ubuntu0.1=1.15.0-1ubuntu0.2=1.15.0-1ubuntu0.3=1.15.0-1ubuntu0.4=1.15.0-1ubuntu0.5
Ubuntu:22.04:LTSmore threats →ghsa
c-ares
pkg:deb/ubuntu/c-ares?arch=source&distro=jammy
Affected versions
=1.17.1-1ubuntu1=1.18.1-1=1.18.1-1build1=1.18.1-1ubuntu0.22.04.1=1.18.1-1ubuntu0.22.04.2=1.18.1-1ubuntu0.22.04.3
Ubuntu:24.04:LTSmore threats →ghsa
c-ares
pkg:deb/ubuntu/c-ares?arch=source&distro=noble
Affected versions
=1.19.1-3=1.20.1-1=1.26.0-1=1.27.0-1=1.27.0-1.0ubuntu1
Ubuntu:26.04:LTSmore threats →ghsa
c-ares
pkg:deb/ubuntu/c-ares?arch=source&distro=resolute
Affected versions
=1.34.5-1=1.34.6-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/24/2026, 06:46:37 UTC

Technical Analysis

The asynchronous resolver library c-ares has a vulnerability in versions before 1.34.7 where the ares_dns_parse() function trusts the ANCOUNT, NSCOUNT, and ARCOUNT fields in DNS responses without confirming the response contains enough bytes for the claimed records. Because process_answer() parses the response before validating the transaction ID and question, a malicious DNS response can cause disproportionate heap memory allocation via ares_dns_record_rr_prealloc() and ares_array_set_size(). Repeated exploitation can degrade or deny DNS resolution service. This vulnerability is addressed in c-ares version 1.34.7.

Potential Impact

An attacker can send malicious DNS responses that cause the vulnerable c-ares library to allocate excessive heap memory repeatedly, leading to degraded performance or denial of service of name resolution. There is no memory corruption or information disclosure associated with this vulnerability.

Mitigation Recommendations

Upgrade to c-ares version 1.34.7 or later, where this issue is fixed. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-69186
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
3.1

Threat ID: 6ab4be55f7a7c54106f0aa40

Added to database: 09/24/2026, 06:08:21 UTC

Last enriched: 09/24/2026, 06:46:37 UTC

Last updated: 09/25/2026, 01:47:44 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses