Double Free Affecting libcurl package, versions [7.77.0,7.86.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.75% (73rd 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 Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-LIBCURL-10076450
  • published8 May 2025
  • disclosed26 Oct 2022
  • creditTrail of Bits

Introduced: 26 Oct 2022

CVE-2022-42915  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade libcurl to version 7.86.0 or higher.

Overview

Affected versions of this package are vulnerable to Double Free due to flaws in the error/cleanup handling, when using one of the following schemes in the URL for the transfer: dict, gopher, gophers, ldap, ldaps, rtmp, rtmps, telnet.

CVSS Base Scores

version 3.1