PT-2018-13769

CVE-2018-16840

·

Published

2018-10-31

·

Updated

2026-09-18

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions curl versions 7.59.0 through 7.61.1
Description A heap use-after-free flaw was found 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.
Recommendations For curl versions 7.59.0 through 7.61.1, consider updating to a version outside of this range to resolve the issue. As a temporary workaround, consider restricting the use of the Curl close() function until a patch is available.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
ALT-PU-2018-2581
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-IF41404
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
OPENSUSE-SU-2018_3699-1
OPENSUSE-SU-2018_3706-1
OPENSUSE-SU-2024:10582-1
SUSE-SU-2018:3608-1
SUSE-SU-2018_3608-1
SUSE-SU-2018:3624-1
SUSE-SU-2018:3681-1
SUSE-SU-2018_3681-1
SUSE-SU-2019:0339-1
USN-3805-1
Found an issue in the description? Have something to add? Feel free to write us 👾