Double free in c-ares - #VU162898
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to crash an affected application using c-ares, causing denial of service.
The vulnerability exists due to a double free when c-ares invokes a query callback before completing lookup removal after connection failure, in applications that call ares_cancel() from that callback. An unauthenticated remote attacker can close or refuse lookup connections until retries are exhausted, triggering the callback and a second release of the lookup.