CVE-2018-16840

State
Published
Severity
4.3 Medium
Published
Oct 31, 2018
Updated
Apr 16, 2026
Reserved
Sep 11, 2018

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.04.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:Nredhat

Weaknesses

Affected Products

ProductVersions
curlThe Curl Project
  • from 7.59.0 to 7.61.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.