Use After Free Affecting libcurl package, versions [7.88.1,8.21.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.65% (47th 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-LIBCURL-17808162
  • published3 Jul 2026
  • disclosed3 Jul 2026
  • creditUnknown

Introduced: 3 Jul 2026

NewCVE-2026-10536  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade libcurl to version 8.21.0 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in the curl_easy_cleanup process after configuring an HTTP/2 stream-dependency tree using CURLOPT_STREAM_DEPENDS or CURLOPT_STREAM_DEPENDS_E and invoking curl_easy_reset. An attacker can cause the application to access freed memory by triggering cleanup operations after a reset, potentially leading to application crashes or execution of arbitrary code. This is only exploitable if the application configures HTTP/2 stream dependencies, calls curl_easy_reset, and then calls curl_easy_cleanup on the same handle.

CVSS Base Scores

version 4.0
version 3.1