Use-after-free in c-ares - CVE-2025-62408
Published: December 8, 2025
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service attack.
The vulnerability exists due to a use-after-free error within the read_answer() function when process_answer() terminates a query such as after maximum attempts. A remote attacker can perform a denial of service attack.
Note, the vulnerability exists due to an incomplete fix for #VU107155 (CVE-2025-31498).
Affected software
Debian Linux
Ubuntu
watsonx.data
Nessus Network Monitor
c-ares (Ubuntu package)
c-ares (Debian package)
How to mitigate CVE-2025-62408
watsonx.data - update to 2.3.1
Nessus Network Monitor - update to 6.5.3
c-ares (Ubuntu package) - addressed in versions 1.34.4-2.1ubuntu0.2, 1.34.5-1ubuntu0.1
c-ares (Debian package) - update to 1.34.5-1+deb13u1