Use-after-free in c-ares - #VU156259
Published: October 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by crashing an application using c-ares.
The vulnerability exists due to use-after-free in c-ares lookup handling when a failed lookup send causes connection shutdown and another pending lookup's callback calls ares_cancel(), releasing the original lookup while it is still in use. A remote attacker can trigger this sequence in an application with multiple lookups in flight to crash the process and cause a denial of service.