Use After Free Affecting c-ares package, versions <1.34.4-2.1ubuntu0.2


Severity

Recommended
medium

Based on Ubuntu security rating.

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 IDSNYK-UBUNTU2504-CARES-14361136
  • published11 Dec 2025
  • disclosed8 Dec 2025

Introduced: 8 Dec 2025

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

How to fix?

Upgrade Ubuntu:25.04 c-ares to version 1.34.4-2.1ubuntu0.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream c-ares package and not the c-ares package as distributed by Ubuntu. See How to fix? for Ubuntu:25.04 relevant fixed versions and status.

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 Base Scores

version 3.1