Use-after-free in c-ares - #VU156260
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 the c-ares lookup cancellation and channel destruction handling when application callbacks reconfigure servers or start a new lookup whose send fails. Cancelled lookups remain reachable through internal tracking during callback execution, allowing the same lookup to be completed twice. A remote attacker can trigger this condition in an affected application to cause access to freed memory and crash the process.