Improper Synchronization Affecting libcurl package, versions [7.76.0,8.1.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.64% (70th 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-10076466
  • published8 May 2025
  • disclosed17 May 2023
  • creditDaniel Stenberg, Harry Sintonen

Introduced: 17 May 2023

CVE-2023-28320  (opens in a new tab)
CWE-662  (opens in a new tab)

How to fix?

Upgrade libcurl to version 8.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Synchronization. Libcurl provides several different backends for resolving host names, selected at build time. If it is built to use the synchronous resolver, it allows name resolves to time-out slow operations using alarm() and siglongjmp(). When doing this, libcurl used a global buffer that was not mutex protected and a multi-threaded application might therefore crash or otherwise misbehave.

CVSS Base Scores

version 3.1