Multiple Releases of Same Resource or Handle Affecting libcurl package, versions [8.11.1,8.12.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.25% (87th 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-CONAN-LIBCURL-10076485
  • published8 May 2025
  • disclosed5 Feb 2025
  • creditAnkom Coper, Christian Heusel

Introduced: 5 Feb 2025

CVE-2025-0665  (opens in a new tab)
CWE-1341  (opens in a new tab)

How to fix?

Upgrade libcurl to version 8.12.1 or higher.

Overview

Affected versions of this package are vulnerable to Multiple Releases of Same Resource or Handle during the teardown of an eventfd connection channel after a threaded name resolution process, in asyn-thread.c. An attacker can cause denial of service by triggering the double close condition.

Note: libcurl is only vulnerable when built with the threaded resolver, and only 64-bit systems are affected.

Workaround

This vulnerability can be avoided by either not building with eventfd or by using the c-ares resolver.

CVSS Base Scores

version 4.0
version 3.1