Medium severity · published Dec 8, 2025
CVE-2025-62408
c-ares has a Use After Free vulnerability when connection is cleaned up after error
5.9
CVSS
0.4%
EPSS
No
On KEV
Description
c-ares is an asynchronous resolver library. Versions 1.32.3 through 1.34.5 terminate a query after maximum attempts when using read_answer() and process_answer(), which can cause a Denial of Service. This issue is fixed in version 1.34.6.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CA
c-ares · c-ares
> 1.32.3, < 1.34.6 · source: vendor, NVD
Affected product
CA
c-ares
c-ares
More from c-ares
9.8
CVE-2016-5180
Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly…
8.3
CVE-2025-31498
c-ares has a use-after-free in read_answers()
7.5
CVE-2026-69184
c-ares: CPU-exhaustion denial of service via unbounded DNS name compression pointer chains
7.5
CVE-2026-33630
c-ares : Use-after-free / double-free in c-ares query-completion handling, remotely triggerable via ares_getaddrinfo() over TCP
7.5
CVE-2017-1000381
The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS…