Use After Free Affecting c-ares package, versions <1.34.5-1ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (12th 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-UBUNTU2510-CARES-14361137
  • published11 Dec 2025
  • disclosed8 Dec 2025

Introduced: 8 Dec 2025

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

How to fix?

Upgrade Ubuntu:25.10 c-ares to version 1.34.5-1ubuntu0.1 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.10 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