Use After Free Affecting httpd24-libcurl package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.54% (78th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-HTTPD24LIBCURL-4545034
  • published1 Nov 2021
  • disclosed31 Oct 2018

Introduced: 31 Oct 2018

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

How to fix?

There is no fixed version for RHEL:7 httpd24-libcurl.

NVD Description

Note: Versions mentioned in the description apply only to the upstream httpd24-libcurl package and not the httpd24-libcurl package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.