Out-of-bounds Read Affecting curl-7.69.1 package, versions <7.69.1+e1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.79% (52nd 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-ECHOLATEST-CURL7691-21280025
  • published20 Oct 2026
  • disclosed24 Jul 2024

Introduced: 24 Jul 2024

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

How to fix?

Upgrade Echo:latest curl-7.69.1 to version 7.69.1+e1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream curl-7.69.1 package and not the curl-7.69.1 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

libcurl's URL API function curl_url_get() offers punycode conversions, to and from IDN. Asking to convert a name that is exactly 256 bytes, libcurl ends up reading outside of a stack based buffer when built to use the macidn IDN backend. The conversion function then fills up the provided buffer exactly - but does not null terminate the string.

This flaw can lead to stack contents accidently getting returned as part of the converted string.

CVSS Base Scores

version 3.1