Use After Free The advisory has been revoked - it doesn't affect any version of package libcurl4-mini  (opens in a new tab)


Threat Intelligence

EPSS
3.4% (88th 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-SLES150-LIBCURL4MINI-2759097
  • published14 Apr 2022
  • disclosed5 Nov 2018

Introduced: 5 Nov 2018

CVE-2018-16840  (opens in a new tab)
CWE-416  (opens in a new tab)

Amendment

The SLES security team deemed this advisory irrelevant for SLES:15.0.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libcurl4-mini package and not the libcurl4-mini package as distributed by SLES.

A heap use-after-free flaw was found in curl versions from 7.59.0 through 7.61.1 in the code related to closing an easy handle. When closing and cleaning up an 'easy' handle in the Curl_close() function, the library code first frees a struct (without nulling the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.