Inefficient Algorithmic Complexity in c-ares - #VU137034

 

Inefficient Algorithmic Complexity in c-ares - #VU137034

Published: July 7, 2026


Vulnerability identifier: #VU137034
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-407
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: c-ares.haxx.se
Affected software:
c-ares

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to inefficient algorithmic complexity in ares_dns_name_parse() when parsing crafted DNS responses with unbounded compression pointer chains. A remote attacker can send a specially crafted DNS response to cause a denial of service.

Because c-ares runs on a single-threaded event loop, parsing a crafted response can stall all resolution for the duration.


Remediation

Install security update from vendor's website.

Sources