Use After Free Affecting c-ares package, versions [1.32.3,1.34.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-CARES-14236424
  • published13 Dec 2025
  • disclosed8 Dec 2025
  • creditJoe Kralicky

Introduced: 8 Dec 2025

CVE-2025-62408  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade c-ares to version 1.34.6 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the read_answer or process_answer functions when a query is terminated after reaching the maximum number of attempts. An attacker can cause a crash by triggering error conditions that lead to premature connection cleanup.

CVSS Base Scores

version 4.0
version 3.1