Out-of-bounds Read Affecting libcurl package, versions [,8.9.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (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 IDSNYK-CONAN-LIBCURL-10076479
  • published8 May 2025
  • disclosed24 Jul 2024
  • creditz2_

Introduced: 24 Jul 2024

CVE-2024-6874  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade libcurl to version 8.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read due to the improper handling of a buffer during the punycode conversion process in the curl_url_get function, by providing a specially crafted input of exactly 256 bytes.

Note: This is only exploitable if the system is configured to use the macidn IDN backend.

CVSS Base Scores

version 4.0
version 3.1