Use-after-free in c-ares - #VU156261
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 server-record handling when an application changes its DNS server list from within a query callback. A remote attacker can send a specially crafted DNS error reply to help trigger access to a released server record when a lookup is requeued, causing the application to crash.