Out-of-bounds Read Affecting libcurl package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (11th 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-12632968
  • published12 Sept 2025
  • disclosed12 Sept 2025
  • creditBig Sleep

Introduced: 12 Sep 2025

NewCVE-2025-9086  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to improper validation in the path comparison process. An attacker can cause a crash or override the contents of a secure cookie by setting a cookie with the secure keyword for an HTTPS site, then redirecting to the same hostname over HTTP and setting a cookie with the same name but a different path. This may result in reading outside a heap buffer boundary, potentially exposing or corrupting sensitive data.

Notes:

  1. This is only exploitable if the attacker is in control of the http:// site that uses the same name as the https:// version, or otherwise possesses MITM capability.

  2. The attacker has no way to control or guess what is in the heap memory following the path buffer that is being read out of bounds, making it a fragile operation.

  3. This flaw does not affect the curl command line tool. While the curl tool can be tricked to override the cookie in the same way, that does not make it a vulnerability for the tool.

CVSS Base Scores

version 4.0
version 3.1