#VU107155 Use-after-free in c-ares - CVE-2025-31498

 

#VU107155 Use-after-free in c-ares - CVE-2025-31498

Published: April 8, 2025


Vulnerability identifier: #VU107155
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-31498
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
c-ares
Software vendor:
c-ares.haxx.se

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error within the read_answers() function. A remote attacker can send specially crafted ICMP UNREACHABLE packets to the application, trigger a use-after-free error and execute arbitrary code on the system.



Remediation

Install updates from vendor's website.

External links