Use-after-free in c-ares - #VU156257
Published: October 20, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service by crashing an application using c-ares.
The vulnerability exists due to use-after-free in c-ares connection handling when a socket-state callback cancels lookups or reconfigures servers while a connection is being opened. A local user can trigger an ordinary lookup in an application with this callback behavior to cause the connection to be released before c-ares finishes using it, resulting in a process crash.